Re: email field validation in struts-2

2007-06-04 Thread Martin Gainty
variable names are case sensitive so useremail != userEmail EITHER change userEmail to useremail in your java source OR change useremail to userEmail in Login-validation.xml and Login.jsp rebuild the project redeploy to tomcat M This email message and any files transmitted with it contain conf

Re: email field validation in struts-2

2007-06-04 Thread Jeromy Evans
Property names are case sensitive. Your property name is "userEmail" not useremail public void setUserEmail(String userEmail) (wrong) The params interceptor will try to call setUseremail(String). As this doesn't exist userEmail is null. (wrong) The validator will be calling