It seems to me that server side validation does not work with Struts 1.3

The getValudationKey
public String getValidationKey(ActionMapping mapping, HttpServletRequest request) {
       return mapping.getAtribute();
   }

returns allways the action url : /Login

instead of LoginForm.

I override this method to return mapping.getName() and now the method returns LoginForm and the server side validation works.

However all the validation fails with the following error in html:messages :
null is required.

What is the null property ???


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to