Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How Faces Servlet works in JSF???  RSS feed

 
mano ranjan
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 18713
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!