Mega Code Archive

 
Categories / Java / J2EE
 

Exercise 1

/* First edition copyright 2004 ObjectSource LLC. All rights reserved. This training material and the accompanying lab exercises were prepared  by Srikanth Shenoy for ObjectSource LLC. GRANT OF LICENSE: ObjecSource LLC grants you a non-exclusive license to  use the material. No part of this publication may be reproduced, stored  in a retrieval system or transmitted in any form or by any means  electronic, mechanical, photocopying, recording or otherwise, without  the prior written permission of ObjectSource LLC. At its discretion,  ObjectSource LLC may provide limited support through email or discussion  forums at ObjectSource web site. ObjectSource incurs no obligation  to provide any support under this Agreement. */ /* Technical Objectives for this exercise:  1. Create Struts ActionForm and Action  2. Understand the interaction between RequestProcessor, Action and ActionForm  3. Start development with CustomerForm.jsp & add tags and TLDs [Using basic Struts tags - html  4. Understand the basic elements of struts-config.xml  5. Create ActionForm fields for the JSP form fields  6. Implement the validate method in ActionForm  7. Create ActionMapping & associate the correct ActionForm and Action  8. Create the Action class & implement the execute method  9. Add ActionForward to the ActionMapping  10. Understand how to use Message Resource Bundle  11. Understand how to handle Form display, Form submission and validation  12. Look for constants in JSP (bean:message, srcKey, altKey etc.) to add them in Resource Bundle  13. Understand ForwardAction  14. Look for ActionError keys & add them to Resource Bundle  15. Build and deploy to WebLogic using the Build script provided and bean tags (totally 11 tags)]  */                     struts-training.zip( 26,264 k)