Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

how to enable/disable validation

Aleksandar Matijaca

2006-12-28


Hi there,

I would like to be able to programatically control weather I am doing
validation or not.
For example, I have validate="true" in my struts-config file, but, I would
like to be
able to decide myself in code (in a Filter, or controller??) if the
validation should
actually be done.. How can this be done??

Thanks, alex.
©2008 junlu.com - Jax Systems, LLC, U.S.A.