I am new to Spring and am attempting an example but am puzzled as to why a MultiActionController constuctor is not getting called after a link is clicked from a index.html welcome file. There are no errors from the server just The requested resource is not available.
OK. Maybe your mapping String is incorrect. Do you need to put @RequestMapping(value="/viewAll.view", method=RequestMethod.GET)
or somtimes just @RequestMapping(value="/viewAll", method=RequestMethod.GET)
I always forget if you have to have the leading "/"
On another note. If you are new to Spring and using the latest version. Having your controllers extend or implement a Spring Controller class or interface is not a best practice. In today's Spring your Controllers should just be POJOs. This makes your Controller less coupled to Spring.
Yep, tried that, still no luck. Where/what log file contains the errors?
posted 8 years ago
Wow, the web.xml and dispatcher-servlet.xml were tucked in a folder under the WEB-INF so I moved directly under WEB-INF and all seems cool, for the time being. Still curious though on how to enable debug logging for solving errors.