java - Use html include in spring mvc controller -
Can I include some spring mvc controllers so that different HTML files can be collected as a single page, Such as (for example):
@RequestMapping (value = QUESTION_GROUP_CREATE_URL, method = requested method. POST) public @ RESPonseBody String vs. Qwestian Group (@RequestBody JsonQuestionGroup Questions Group, HTTPServlet Response) { Response.setContentType ("text / html"); Response.setCharacterEncoding ("UTF-8"); Return "& lt; div> } But where i "lt; div & gt;
thanks
You can use Apache Tiles instead, it is very easy to find many tutorials in the web. This can be an example
second
Comments
Post a Comment