Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

validate=false

 
ben oliver
Ranch Hand
Posts: 375
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for struts 1, if I set <action path="/myaction" ... validate="false">

1. does that mean struts will NEVER check validation.xml and validator-rules.xml EVEN I set things in validation.xml ??

2. if I set validate="false", I can overwrite the "validate" method in the form, then can this form extends ValidatorForm ?? I guess in this case, even it extends ValidatorForm, it is useless, correct ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic