Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

9. java server faces

593 views

Published on

JSP (Java Server Pages) Lecture # 9
Java Server Faces the best Alternative of C# and Easy to make your own Application (Desktop applications) or web applications

  • Be the first to comment

  • Be the first to like this

9. java server faces

  1. 1. IMRAN DAUDFOUNDATION UNIVERSITYINSTITUTE OF MANAGEMENT ANDCOMPUTER SCIENCESImran DaudFUIMCSWeb EngineeringJSF
  2. 2.  Used for GUI Main components of JSF are JSF Page JSF Managed Bean faces-config.xml
  3. 3. JSF Page
  4. 4. JSF Managed Bean Getter & Setter for user and pass checkUser function to validate user.
  5. 5. Configure faces-config.xml file Open subject file and Right click Insert-> navigation rule select view that is your main index file that contains form. Again right click then insert ->navigation cause From outcome contains return string from bean To view contains page where it should be redirected againstthe outcome.
  6. 6. faces-config.xml
  7. 7. Reference http://www.csl.mtu.edu/cs2321/ Netbeans.org Roseindia.net Jsptut.com tutorialspoint.com/jsp http://java.sun.com

×