Skip to content

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

Notifications You must be signed in to change notification settings

moezkorkmaz/springmvcfacelets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spring MVC & Facelets


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

About

This simple project shows Spring MVC and Facelets integration. Facelets is the most popular View Framework based on Decorator pattern. It is a part of JSF component-based specification, but it's hard to mix with other frameworks (like action-based Spring MVC). It comes much easier with the FaceletViewResolver written by Isaac Silva.

Page lifecycle

It goes normally as default Spring MVC process:
1. Dispatcher Servlet
2. Handler Mapping
3. Controller method
4. ModelAndView
5. ViewResolver as FaceletViewResolver
6. Composed View based on Facelet templates.

How can I run it?

Just download the project and then run the command as:
a)mvn tomcat7:run (Tomcat 7 servlet container), or
b)mvn jetty:run (Jetty servlet container)

Credits

Isaac Silva (FaceletViewResolver)
http://www.webdezign.co.uk/ (HTML5 page layout used as example)

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 68.7%
  • CSS 31.3%