lukasz.lenart, Thanks for your response. I am using Struts 2.1.8, Java 1.6 and tomcat 7.
On Mon, Jun 18, 2012 at 12:02 AM, Łukasz Lenart < lukasz.len...@googlemail.com> wrote: > 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 > >