[EMAIL PROTECTED] wrote:
> 2. If validation is specified in web.xml then each data value is validated
> according to the data-type to be converted to and any regular expressions
> given (haven't implemented the regExp bit yet). Failure naturally takes the
> user back to the 'input' page (in the action-mappings).

Have you looked at David Winterfeldt's validation servlet?

< http://home.earthlink.net/~dwinterfeldt/ >


I believe another way to reduce the number of ActionForm beans would be
to write larger beans that can be used with several forms, and then use
the mapping property to figure out which fields need to be validate. 

Other people who have used structures like hashmaps instead of JavaBeans
have reported performance loss under some containers, which are
apparently optimized for JavaBeans.


-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 737-3463.
-- http://www.husted.com/about/struts/

Reply via email to