• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mapping to FacesServlet

 
MaheshS Kumbhar
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to make sure that before a JavaServer Faces application can launch the first JSP page containing JSF components, the web container must invoke FacesServlet instance in order for application life cycle process to start
 
Tim Holloway
Saloon Keeper
Posts: 18300
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MaheshS Kumbhar wrote:How to make sure that before a JavaServer Faces application can launch the first JSP page containing JSF components, the web container must invoke FacesServlet instance in order for application life cycle process to start


You don't "launch" a page, you render. Or, more accurately, the JSF system renders it.

The FacesServlet is just like any other servlet. You send URL requests to it by using the url-mapping feature of web.xml. FaceServlet parses the URL to find out where the resources it needs are. It then uses those resources to process the request and render the response.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic