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;

I am returning to head.html, header.html, Nav.html, view.html, footer.html? For example

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

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -