Re: Struts2 XML Validation App

2011-03-10 Thread Okan Özeren
Hi, Name of LoginAction-Validation.xml file name must be LoginAction-validation.xml; so Validation's first character must be lowercase. And you should consider to struts form which theme definition used for it. Look at the http://struts.apache.org/2.2.1/docs/struts-2-themes.html Maybe you could

Re: Struts2 XML Validation App

2011-03-09 Thread Chris Mawata
Your struts.xml is missing a tag -- or did you just not include it when you pasted? On Wed, 2011-03-09 at 14:54 -0800, Vivek Bansal wrote: > Hi, > > I am creating my first struts2 application with xml based validation. > However, I am not able to get the validation part working i.e. its not > re

Struts2 XML Validation App

2011-03-09 Thread Vivek Bansal
Hi, I am creating my first struts2 application with xml based validation. However, I am not able to get the validation part working i.e. its not returning the field error message to UI. Please help. My code looks like this. *login.jsp* *struts.xml* /login.jsp /login