I\'m trying to run my web application using Spring, Hibernate and Apache Tiles. It seems the code has no errors, but I\'m just getting a 404 page.
/var/log/tomcat7/c
Try sending ModelAndView instead of String Or
You can send map object as parameter to ModelandView method(which is already overloaded)
@Controller
@RequestMapping("/")
public class BlogController {
@RequestMapping("/index.html")
public ModelAndView posts(Map map) {
return new ModelAndView("/index.jsp", "status", status);
}
}