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 believe that you would also see this behavior if you do not have an "input" attribute set on your action mapping. Check that out. If validation fails then your action should never be called. Try putting some logging messages (log4j or System.out.println) in your action. If you see the logging messages then validation is either passing or not being called. Another thing to check is that your form extends ValidatorForm.
1- The type specified in your form-bean definition is incorrect. It should be org.apache.struts.validator.DynaValidatorForm. DynaValidatorActionForm is used if you specify an Action rather than a form name in your validation.xml file. Since you specified a form name, you must use DynaValidatorForm.
2- I don't know where you got the idea to put dynamic="true" in your form-bean definition, but it's not a valid attribute. Take it out.
3- Your Action mapping is incorrect. Change it as follows:
Also, make sure that "/Login/test.jsp" is a valid URI relative to your web context root. [ February 07, 2007: Message edited by: Merrill Higginson ]