This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
This is the way how we use a client side validation in struts.
If validate="false", struts wont do your client side validation.
Joined: Feb 15, 2005
The point I'm making is that even if you specify validate="true" in your action mapping, client-side validation will still not take place unless you've modified your JSP to allow for it. If you never want to use client-side validation, you don't have to do anything... just don't put the code in your JSPs.
For performing server side validation, you could configure the validation.xml file or u could validate in your action class itself, based on ur own custom defined rules. For configuring the validation.xml file you can check this link out.
Hope this helps.
"What's in a name? That which we call a rose by any other name would smell just as sweet."<br />(William Shakespeare, Romeo and Juliet, Act II, Scene II)
Joined: Jan 26, 2006
That was a really nice to know that you became an expert in Struts.
Good to know that still Java innovations are going on in Assyt.