struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Mefford <>
Subject Localized -validation.xml
Date Tue, 11 Jan 2011 18:26:53 GMT
Does anyone know of the best way to have different validation rules
for different locales in the validation.xml.

I created what I feel is a hack by using wildcard in the alias:

        <action name="start*" class="com.MyClass" method="input">

Then I call startUS so my validation.xml file is named

Is this the best or recommended way to do this? I thought there may be
some -validation_en_US.xml or something but testing this doesn't work.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message