posted 13 years ago
Hi All,
I just created a sample form to "Add a Product". Added a validation xml to validate the form. But the form is not getting validated. Whereas if I override the validate() method in Action class, validation is happening. Problem existing only with validation using xml. Kindly help me in sorting out the problem.
Find my code snippets,
struts.xml
Product.jsp
Product-validation.xml
Product.java
Kindly help me to sort out the issue. Thanks