Problem with ModelAndView and ModelMap in AnnotationController, Springframework?

It's not clear what your question is but as to the difference between ModelMap and ModelAndView, they come from two different "generations" of Spring MVC. ModelAndView is from the Spring 2.0 style, whereas ModelMap was introduced in 2.5.

It's not clear what your question is but as to the difference between ModelMap and ModelAndView, they come from two different "generations" of Spring MVC. ModelAndView is from the Spring 2.0 style, whereas ModelMap was introduced in 2.5. Generally speaking, if your controller subclasses a Spring 2.0 controller, such as SimpleFormController (which I think your code fragment is), then ModelAndView is the thing to use. If you're using Spring 2.5 @Controller annotatations, ModelMap is preferable.

My question was more directed as to how to bind html form objects to a POJO on submit. Java code: @RequestMapping(method = RequestMethod. POST) public String processRequest(ModelMap map, @ModelAttribute("accessRequestBean") AccessRequestBean accessRequestBean){ logger.

Debug(accessRequestBean); return("NOTHING"); } HTML Code: ...

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions