Exercise 9: Using Commons Validator with Struts : Java examples (example source code) » J2EE » Struts

Java
C++
Java Products
Java Articles
Java Home  »   J2EE   » [  Struts  ]  Screenshots 
 



Exercise 9: Using Commons Validator with Struts

/*
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: 
The technical objectives of this exercise is to learn ?how to?: 
1) Use Commons Validator to validate ActionForm 
a) We will add validations to CustomerSearchForm 
b) The first thing while using Commons Validator is to extend the ActionForm from a predefined 
ValidatorForm.
*/
Download: struts-training.zip   (26264  K)  
Related examples in the same category
1.  Exercise 1: Building your first Struts Application Exercise 1: Building your first Struts Application
2.  Exercise 2: Improving your first Struts Application Exercise 2: Improving your first Struts Application
3.  Exercise 3: Using JSTL, Struts-EL etc Exercise 3: Using JSTL, Struts-EL etc
4.  Struts Recipes: Build Struts with Ant
5.  Using bean:resource to expose the struts.config.xml to your view
6.  Create a pluggable validator for cross-form validation 2 Create a pluggable validator for cross-form validation 2
7.  Struts: Generate a response with XSL
8.   Hibernate and Struts  Hibernate and Struts
9.   In-container testing with StrutsTestCase and Cactus
10.  Exercise 4: Applying Gof and J2EE Patterns:Deploy to WebLogic and Test
11.  Exercise 5: Search, List, Action Chaining, Editable List Form
12.  Exercise 6: Paging
13.  Exercise 7: Better Form and Action Handling
14.  Exercise 8: Creating Struts Modules
15.  Exercise 10: Using Struts and Tiles
16.  Essential Struts Action Essential Struts Action
17.  A Full Struts Application A Full Struts Application
18.  Struts Creating the View Struts Creating the View
19.  Struts: Creating the Model Struts: Creating the Model
20.  Struts: Creating the Controller Struts: Creating the Controller
21.  Creating Custom Tags Creating Custom Tags
22.  The Struts Tags The Struts Tags
23.  The Struts and Tags The Struts and Tags
24.  Web Services and the Validator and Tile Packages Web Services and the Validator and Tile Packages
25.  Struts Framework: A Sample Struts Application Struts Framework: A Sample Struts Application
26.  Struts Framework Validator
27.  Struts Framework: Tiles Struts Framework: Tiles
28.  Struts Framework: Declarative Exception Handling
29.  Struts: Internationalizing Struts Applications
30.  Securing Struts Applications
31.  Testing Struts Applications
32.  Struts example Struts example
33.  Blank Struts template Blank Struts template
34.  Struts Framework
35.  Struts: bank application Struts: bank application
36.  Struts application Struts application
37.  Struts application 2 Struts application 2








Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.