RE: ERROR: Server side validation using Validation framework
Thank you David. Yaa, I have done mistake with input attribute. It is working fine now. Thanks, Arindam "David G. Friedman" <[EMAIL PROTECTED]> 05/11/2005 04:07 AM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject RE: ERROR: Server side validation using Validation framework Your input list "/login.jsp" but your other JSP's are listed under the /jsp directory, SO, should your input be something different to get rid of the page not found error BEFORE you mess with the Validator and claim it is the source of all problems? Instead of: input="/login.jsp" Is the file here (like your other examples for "Success" and Failure"): input="/jsp/login.jsp" Also, are you sure your action is forwarding to the "success" forward using the correct CASE-sensitive spelling (i.e. "Success" not "success") ? Regards, David -Original Message- From: Arindam Samanta [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 10, 2005 5:47 AM To: Struts Users Mailing List Subject: ERROR: Server side validation using Validation framework Hi, I am new in struts. I am getting 'Page can not be displayed error when I click on 'SAVE' button. validation is working fine when I implemented client side validation to add following line But when I removed above code from jsp I faced page not found error but it is not throwing any error into server. My Form class extends from ValidatorForm. My xml are, struts-config.xml*** validation.xm*** mask ^[a-zA-Z]*$ mask ^[a-zA-Z]*$ validator-rules.xml***
RE: ERROR: Server side validation using Validation framework
Your input list "/login.jsp" but your other JSP's are listed under the /jsp directory, SO, should your input be something different to get rid of the page not found error BEFORE you mess with the Validator and claim it is the source of all problems? Instead of: input="/login.jsp" Is the file here (like your other examples for "Success" and Failure"): input="/jsp/login.jsp" Also, are you sure your action is forwarding to the "success" forward using the correct CASE-sensitive spelling (i.e. "Success" not "success") ? Regards, David -Original Message- From: Arindam Samanta [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 10, 2005 5:47 AM To: Struts Users Mailing List Subject: ERROR: Server side validation using Validation framework Hi, I am new in struts. I am getting 'Page can not be displayed error when I click on 'SAVE' button. validation is working fine when I implemented client side validation to add following line But when I removed above code from jsp I faced page not found error but it is not throwing any error into server. My Form class extends from ValidatorForm. My xml are, struts-config.xml*** validation.xm*** mask ^[a-zA-Z]*$ mask ^[a-zA-Z]*$ validator-rules.xml***
ERROR: Server side validation using Validation framework
Hi, I am new in struts. I am getting 'Page can not be displayed error when I click on 'SAVE' button. validation is working fine when I implemented client side validation to add following line But when I removed above code from jsp I faced page not found error but it is not throwing any error into server. My Form class extends from ValidatorForm. My xml are, struts-config.xml*** validation.xm*** mask ^[a-zA-Z]*$ mask ^[a-zA-Z]*$ validator-rules.xml***