This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm doing maintenance for an application.I'm trying to implement the struts validator but it doesn't work. The system has been developed to validate the forms in the actions. The problem is that when I run it with my new chages the system still calls the previous code implemented in the actions.What is happening is that the errors are captured as exceptions in a hierarchy and I don't know what to do to validate the forms with the struts validator,it is simply ignored by the system. Do you have any suggestion?
hi janice, if you are using eclipse then in menu bar it will be project then clean the project and the try running it,bcoz sometimes validations will not work till that.try but i know that much only. bye Amith
It helps if you can share what change you have made. To call the validate() method you have to set the validate attribute to true in struts-config.xml for the particular action. [ November 03, 2006: Message edited by: Purushothaman Thambu ]