IN my project validation.xml is not working. I am using maven structure and I am new to it. I am using the dependency as struts2 with versionID 184.108.40.206. when I submit the form without entering any data the control is transferred to the result page not the error page. but in the action class I can access all the data from the jsp even though it's null.
The jar files are placed exactly with in the web-inf/lib folder. In web-inf/lib folder i have
Pradeesh Pakkat wrote:The jar files are placed exactly with in the web-inf/lib folder.
"WEB-INF/lib", correct? Case is important.
It looks like there was a problem with JBoss and versions of Struts prior to 2.2.3 see here. You should probably be using the latest version of Struts, 2.3.16. There have been many bug fixes since the 2.2.x days.
Note that the error you posted is at the "WARN" level, so it shouldn't actually impact the application.
Do you have an "input" parameter for your action in struts.xml?
sorry "WEB-INF/lib" is the correct path and I misspelled it. I put those warning message here because I couldn't trace any other issues in the console during validation. And in my struts.xml there is an "input" parameter. There is no error message. From action page it is working normally except the validation.