Prof. Vinod Pillai.vinodthebest@gmail.comhttp://vinodthebest.wordpress.comwww.youtube.com/vinodthebest
Part – IVDatabase.  Prof. Vinod Pillai   2
Part – IV : Database.   Database – Insert + Validation + View + Update.   Understanding :       Session Object.       ...
10  “Database – Insert + Validation + View + Update”Our Goal : To create a Struts2 Final application in we will provide u...
Database Output:                   Prof. Vinod Pillai   5
Final Structure :                    Prof. Vinod Pillai   6
Index.jsp :              Prof. Vinod Pillai   7
Struts.xml :               Prof. Vinod Pillai   8
Login Action :                 Prof. Vinod Pillai   9
Login Action :                 Prof. Vinod Pillai   10
Login Action :                 Prof. Vinod Pillai   11
UserClass.java / POJO /Bean:                     Prof. Vinod Pillai   12
EditUser.jsp :                 Prof. Vinod Pillai   13
UpdateUserAction.java :                     Prof. Vinod Pillai   14
UpdateUserAction.java :                     Prof. Vinod Pillai   15
Real Struts 2 Architecture           Prof. Vinod Pillai   16
Conclusion: What is Framework? & MVC. Struts Architecture. Setting Up Struts. Welcome Struts 2 – Application. Action ...
Part – IV : Database.   Database – Insert + Validation + View + Update.   Understanding :       Session Object.       ...
Part – IVCompleted   Prof. Vinod Pillai   19
Thank Youvinodthebest@gmail.com              Prof. Vinod Pillai   20
Upcoming SlideShare
Loading in …5
×

Vinod sir struts 2 part 4

1,574 views

Published on

Struts 2 Database Operations & Struts 2 Architecture.

Published in: Technology, Education
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,574
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
115
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Vinod sir struts 2 part 4

  1. 1. Prof. Vinod Pillai.vinodthebest@gmail.comhttp://vinodthebest.wordpress.comwww.youtube.com/vinodthebest
  2. 2. Part – IVDatabase. Prof. Vinod Pillai 2
  3. 3. Part – IV : Database.  Database – Insert + Validation + View + Update.  Understanding :  Session Object.  Request Object.  Real Struts 2 Architecture.  Quick Recap of all the topics. Prof. Vinod Pillai 3
  4. 4. 10 “Database – Insert + Validation + View + Update”Our Goal : To create a Struts2 Final application in we will provide user two options:  First : Allow to create a New Account and the data will entered to Database.  Second : Allow user to login into the system and view his details + Update his details. Major features:  Database connectivity.  HttpServletRequest.  Session. Prof. Vinod Pillai 4
  5. 5. Database Output: Prof. Vinod Pillai 5
  6. 6. Final Structure : Prof. Vinod Pillai 6
  7. 7. Index.jsp : Prof. Vinod Pillai 7
  8. 8. Struts.xml : Prof. Vinod Pillai 8
  9. 9. Login Action : Prof. Vinod Pillai 9
  10. 10. Login Action : Prof. Vinod Pillai 10
  11. 11. Login Action : Prof. Vinod Pillai 11
  12. 12. UserClass.java / POJO /Bean: Prof. Vinod Pillai 12
  13. 13. EditUser.jsp : Prof. Vinod Pillai 13
  14. 14. UpdateUserAction.java : Prof. Vinod Pillai 14
  15. 15. UpdateUserAction.java : Prof. Vinod Pillai 15
  16. 16. Real Struts 2 Architecture Prof. Vinod Pillai 16
  17. 17. Conclusion: What is Framework? & MVC. Struts Architecture. Setting Up Struts. Welcome Struts 2 – Application. Action – POJO. Multiple Execute method in Action Class. Major Form Fields. Validation using validate() & .xml File. Tiles Plug-in. Request & Session Object. Database. Prof. Vinod Pillai 17
  18. 18. Part – IV : Database.  Database – Insert + Validation + View + Update.  Understanding :  Session Object.  Request Object.  Real Struts 2 Architecture.  Quick Recap of all the topics. Prof. Vinod Pillai 18
  19. 19. Part – IVCompleted Prof. Vinod Pillai 19
  20. 20. Thank Youvinodthebest@gmail.com Prof. Vinod Pillai 20

×