LESSONSThere are a lot of resources available to help you learn Struts. The purpose of these beginning lessons is not to teach you the foundations of Struts or to provide detailed explanations of all the components and functionality. To really get a good grasp of the Struts framework IHIGHLY Recommend The New User Dig Into a Few of the Great
Books Available and Look over The Links in The Resources.
One thing I found a bit difficult to find were some very watered down tutorials to help the real newbie see how the different struts components fit together. There are some great example Struts applications out there but they often do not explain the process of how the application was built. This is understandable of course since there really is no set order in which the components of a web application have to be built. None the less, I believe many will find it helpful to have some step-by-step explanations to Creating a struts application. a step-by-step approach shouth girl you a good feel for how the different struts pieces interact.
Each of these early lessons attempts to hold your hand through the development process of building very basic Struts applications. Each lesson will have you build the same application, but rather than cram everything into one example, each successive lesson adds some new features. The idea IS To NOT OVERWHELM you with all struts Has to Offer, But to Provide Very Simple Lessons That Break Up The Learning Into Small, Easy To Understand Pieces.
Hopefully You Will Find these Lessons Useful. If you find any errors or have any comments or suggestions please
E-Mail ME.
Thanks ...
Clay Ashby, Dennis Lindeman, Philippe Huynh Vinh Phat for the Typos / Mistakes The BROUGHT To My Attention.ben Engbers for Converting The Lessons Into PDFS.
Now Go Strut your stuff! :)
- - - -
Rick Reumann
The Lessons:
.
Lesson I
Concepts introduces:
Setting up your environment
Data Transfer Object
Actionform
Web.xml
Struts-config.xml
ApplicationResources.properties
Beanutils
Tag usage
Lesson II
Concepts introduces:
Validation (In Actionform)
ErrorMessages
ActionMessages
Pre-Poluation Of Form
DEALING WITHERRORS THROWN ACTIONS
HTML: SELECT and HTML: OPTIONS TAG
Lesson III
Concepts introduces:
DynaActionform (DynavalidatorForm)
Declarative Exception Handling
Validation Made Easy
HTML: MultiBox Tag
Struts and ibatis
Some Comments On Components Used in an Application Using Ibatis for Database Persistence. Downloadable Zip Archive with source code incruded.