2012/6/17 Paul Mefford <paulmeff...@gmail.com>:
> Can anyone give me some advice on how to fix the .xml loader so it finds a
> xml file using the wildcard in sturts.xml?  Or has anyone done this a
> different way with validation?

Struts 2 version ? App Sever ?

You can implement your own logic how to handle validation using
ActionValidatorManager interface - there are two known implementations
- AnnotationActionValidatorManager (used by Struts 2) and
DefaultActionValidatorManager (used be XWork when running without
Struts 2).

If you want to implement your Manager, to enable it just add the line
below to your struts.xml

<bean type="com.opensymphony.xwork2.validator.ActionValidatorManager"
name="struts.actionValidatorManager" class="con.company.MyManager" />

You can also try to debug your application and see what's going on in
AnnotationActionValidatorManager#loadFile()


Regards
-- 
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to