Re: Struts 2 XML based validation not working

2007-12-21 Thread Dave Newton
Please reply to struts-user and not directly to responders. --- Filipe David Manana <[EMAIL PROTECTED]> wrote: > > [...] > The struts.xml section: > > [...] If you submit to the "login" action won't it just run the "input" method again, hence bypassing validation? I don't see where you

Re: Struts 2 XML based validation not working

2007-12-21 Thread Dave Newton
--- Filipe David Manana <[EMAIL PROTECTED]> wrote: > When I test my webapp this validation is completely ignored. > Why is that so? Don't know; the XML and class setup seems okay. How are you testing? What's in the JSP? Does it work except for the validation? Do you extend ActionSupport (or imple

Struts 2 XML based validation not working

2007-12-21 Thread Filipe David Manana
Hi, I created an action name LoginAction and the corresponding validation XML file named LoginAction-validation.xml. Both files are in the same directory and the contents of the XML one are: http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd";> You have to fil