You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Julien ROTT <ju...@gmail.com> on 2010/03/02 09:39:04 UTC

Struts 2 - Validation - Different jsp, one save method

Hi,

I have a save method in an action. Due to configuration, data can come from
the same form on different jsp. Each jsp having different required fields.
For example, an address form. On one jsp the "Country" field is required, on
another one the "Country" field is NOT required...

Can I specify a validation.xml file for each jsp ?

If someone has a clue,
Thanks.