Set validate attribute in <action> to false will solve your problem. -----Original Message----- From: Jones, Marty B. [mailto:[EMAIL PROTECTED] Sent: July 31, 2003 3:37 PM To: [EMAIL PROTECTED] Subject: DynaValidatorForm question
I have a class that extends Action (LoginAction) and references a DynaValidatorForm for form validation. I have noticed that if I directly reference a url say http://myserver/control/login that it instantiates the LoginAction as it should. My question is, what is the best way to not allow the Action class to be fired if no request arguments are on the request so that the login.jsp file will paint to allow the user to enter usename and password information in. I am pretty sure that I could use a normal ActionForm and in the validation method check to see if the username and password values are both null. If they are then return a mapping to go back to the login screen. Is there a way to do this with the DynaValidatorForm? Thanks in advance, Marty Jones ________________________ Marty B. Jones Senior Software Engineer DailyAccess.Com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]