Skip to content

tomj74/chunk-spring-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring MVC & Chunk Templates

Sample web application with Spring MVC (Controller layer) and Chunk Templates (View layer)

About

This simple project is a blueprint for dropping in Chunk Templates as your template engine for Spring MVC.

Request lifecycle

1. Dispatcher Servlet
2. Handler Mapping
3. Controller method
4. ModelAndView
5. ViewResolver (ChunkTemplateView)
6. Composed View using Chunk Templates.

How can I run it?

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

Credits

Based on Andrzej Cichon's [work][4] with Facelets.

Analytics

About

Quick start Maven web app with Spring MVC and Chunk Templates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published