wood burning stoves 2.0*
The moose likes Struts and the fly likes turn off validator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "turn off validator" Watch "turn off validator" New topic
Author

turn off validator

Guillaume ame
Greenhorn

Joined: Jun 25, 2004
Posts: 1
Hi,

I want to turn off client side validating process on a struts project. Is there a way to do this easily, like a parameter on validator plugin definition in struts-config ?

Thanks;
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
Why would you want to do this ??? (Just wondering.) I suppose you could just remove all the javascript code from the configuration files to make this happen. I'm not aware of any easy switch to stop Struts from writing out client-side validation code though -- there may be one.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

I never use the client-side stuff myself.
I believe what turns it on or off is if you have a <html:javascript> tag in your jsp (or something like that).

I don't know of anything else off hand


A good workman is known by his tools.
 
Consider Paul's rocket mass heater.
 
subject: turn off validator