Type « MVC Controller « Spring Q&A





1. Spring MVC Controllers Return Type    stackoverflow.com

I've seen examples where a controller returns a String (which indicates the view)

@RequestMapping(value="/owners/{ownerId}", method=RequestMethod.GET)
public String findOwner(@PathVariable String ownerId, Model model) {
  Owner owner = ownerService.findOwner(ownerId);  
  model.addAttribute("owner", owner); ...

2. which controller type?    forum.springsource.org

which controller type? hello everyone, I surely missing something here , i like to have a main page that displays list of two objects, say list of subjects list of announces ...

3. Spring Controller types?    forum.springsource.org

Spring Controller types? Hi, I was searching this on internet, but couldnt find a possible option in Spring - From what I have been reading about different controllers - Controller, MultiActionController, ...

4. what are the types of controllers in spring?    forum.springsource.org

Please read the docs of Spring through before asking such questions. Using open source does not mean you can have everything explained to you privately, you must make efforts yourself. Thank ...