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
struts-training.zip( 26,264 k)
Related examples in the same category