Empty content in spring mvc test
问题 I could not test page content with spring mvc test because it is empty. Given simplest possible controller: @RequestMapping(value = "/home") public String home(HttpSession session, ModelMap model) { return "home"; } relevant tiles config: <definition name="base.definition" template="/jsp/view/application.jsp"> <put-attribute name="header" value="/jsp/view/header.jsp" /> <put-attribute name="menu" value="/jsp/view/menu.jsp" /> <put-attribute name="title" value="" /> <put-attribute name="body"