Re: Struts 2.0.9 server side validation problem

2007-12-20 Thread Arpan Debroy
Actually what I have noticed that, if you make any mistake(may a single spelling) in validation xml file, it will not catch any validation error. On Dec 19, 2007 9:19 PM, TuomoS <[EMAIL PROTECTED]> wrote: > > How can I confirm that the XML validator file is read? It seems that the > actionName-va

Re: Struts 2.0.9 server side validation problem

2007-12-20 Thread TuomoS
newton.dave wrote: > > >> Is it mandatory to define doctype in the validation xml file? > > That I don't know, but I don't know why you wouldn't put it in there; it > can > be pretty helpful. > > This was the case. Now that I added the doctype everything works. newton.dave wrote: > > >>

Re: Struts 2.0.9 server side validation problem

2007-12-19 Thread Brian Relph
If you are building with maven2, you might make sure that you are adding the xml files in your source directory to your compiled output directory. I know this was something that fooled me at first ... src/main/java **/*.properties **/*.xml

Re: Struts 2.0.9 server side validation problem

2007-12-19 Thread Dave Newton
--- TuomoS <[EMAIL PROTECTED]> wrote: > How can I confirm that the XML validator file is read? Turning up the debug level on com.opensymphony.xwork2.validator is the easiest. > It seems that the actionName-validation.xml is not read. I That's not very likely; this definitely works. > have check