I am a Struts 2 newbie. The validation piece from Struts 2 bootstrap tutorial
is
not kicking in, and does not show the validation error messages even when I
provide invalid data.

I started my this struts2 project using the the Maven Starter Archetype
(struts2-archetype-starter)
and my Logon-validation.xml is located src/main/resources folder, which gets
copied in Web-inf/classes folder on deployment (done through mvn jetty:run). 

I am trying to following this link from Struts2 bootstrap tutorial 
http://struts.apache.org/2.x/docs/validating-input.html

and have an issue at the Validation Input piece. 

I have created my Logon.java (my action), my logon.jsp and correctly mapped
them in struts.xml

Here's my struts.xml code.
http://rafb.net/p/KG8ELQ25.html

Here's my Logon.java
http://rafb.net/p/vNR89E61.html

Here's my Logon.jsp
http://rafb.net/p/rOZl5r57.html

Here's my Logon-Validation.xml
http://rafb.net/p/FToVf186.html

I give in empty username and password and hit submit, and get returned to
the Logon.jsp without showing the error messages. Can someone please point
out what's wrong. ??


-- 
View this message in context: 
http://www.nabble.com/-s2--logon-validation.xml-does-not-work-in-tf3830792.html#a10845117
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to