Sample web application with Spring MVC (Controller layer) and Chunk Templates (View layer)
This simple project is a blueprint for dropping in Chunk Templates as your template engine for Spring MVC. 1. Dispatcher Servlet2. Handler Mapping
3. Controller method
4. ModelAndView
5. ViewResolver (ChunkTemplateView)
6. Composed View using Chunk Templates. Just clone the project and then run:
a) mvn tomcat7:run (Tomcat 7 servlet container), or
b) mvn jetty:run (Jetty servlet container)
Tomcat test URLs:
http://localhost:8070/
http://localhost:8070/hello
http://localhost:8070/chunk
Jetty test URLs:
http://localhost:8090/
http://localhost:8090/hello
http://localhost:8090/chunk