This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JSF and the fly likes How Faces Servlet works in JSF??? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "How Faces Servlet works in JSF???" Watch "How Faces Servlet works in JSF???" New topic
Author

How Faces Servlet works in JSF???

mano ranjan
Ranch Hand

Joined: Jul 12, 2007
Posts: 102
Hi,
I just went through the FacesServlet code
Faces Servlet

Form this i came to know Faces Servlet implements servlet .then how come the request,response works and how could the doget() and doPost() methods are called...??


thanks
mano.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14572
    
    7

For most purposes, you should treat the JSF servlet as a black box. It exists primarily to dispatch and control the application, and, like my radio, there are "No user-serviceable parts inside".

If you truly want to understand what it does, the first thing I recommend is that you gain a good understanding of the JSF lifecycle and how it manages component trees, so that you'll know what it has to do. Then get a copy of the servlet source code and see how it actually does it.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How Faces Servlet works in JSF???
 
Similar Threads
Java server Faces?
With JavaServerFaces
Again - Cannot find FacesContext
how to return a navigation case from a servlet response.sendRedirect() ?
<to-view-id> Element