wood burning stoves
The moose likes JSF and the fly likes Validating my understanding of JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Validating my understanding of JSF" Watch "Validating my understanding of JSF" New topic

Validating my understanding of JSF

Parag Shah

Joined: Jan 23, 2002
Posts: 26

I have been reading some tutorials on JSF. This is my initial understanding.

In JSF, the view is created from JSF tags which are placed in JSP pages. I understand they can be put in Facelets or in .jspx (xml compliant jsp page) pages as well. When put in .jspx we do not define tags, but namespaces.

Usually the point of entry into a JSF application is a JSP page that forwards to another page that is actually processed by the FacesServlet and rendered on the browser.

Is it true that the real purpose of the JSP page is to allow Faces Servlet to build a View Root for that page on the server side. Once the View Root is created it (and not the JSP page) renders the html to the browser. When a user submits a form or clicks on a button, the Faces Servlet updates the View Root for that component, which further renders the resulting view on the browser.

Is my understanding of how the view is rendered in a JSF application correct?


Do It Yourself Computer Science
I agree. Here's the link: http://aspose.com/file-tools
subject: Validating my understanding of JSF
jQuery in Action, 3rd edition