problem solved by myself. remove the AnnotationMethodHandlerAdapter, but leave the DefaultAnnotationHandlerMapping in
Type: Posts; User: 7of9; Keyword(s):
problem solved by myself. remove the AnnotationMethodHandlerAdapter, but leave the DefaultAnnotationHandlerMapping in
I tried to register these two beans in servlet.xml because there are many exsiting controllers are not annotated and still using SimpleUrlHandlerMapping in the servlet.xml for the url mapping.
...
Dear All,
Here is my controller annotation
@Controller
@RequestMapping("/manage_something.do")
@SessionAttributes("form")
public class ManageSomethingFormController {
…
}