aspose file tools*
The moose likes JSF and the fly likes Mapping to FacesServlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Mapping to FacesServlet" Watch "Mapping to FacesServlet" New topic
Author

Mapping to FacesServlet

MaheshS Kumbhar
Ranch Hand

Joined: Sep 24, 2009
Posts: 188
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


I am slow but sure
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16250
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mapping to FacesServlet