Hi All,
I have been trying to have validation inside my application using tutorials from roseindia and java-x.blogspot.com and based on them I have created small sample application but validations are not working. The source codes are below:
index.jsp
struts.xml
LoginAction-validation.xml
LoginAction.java
Application code and flow is working but username and password validation is not working. One thing I got is that if Action name is LoginAction then validation XML file name should be LoginAction-validation.xml which is true in my case. All jars are there in proper place and have rechecked them from given tutorials and samples.
Configuration:
Win XP
JDK 1.6
Apache
Tomcat 6.0
Please let me know where Am i making mistake?