9. java server faces

447 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

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
447
On SlideShare
0
From Embeds
0
Number of Embeds
110
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

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

×