Most important part of forward on sucessuss and failure is not mentioned.
so on executing action class where will control go to ?
1) Add some system.out.println in action class and check if action class is invoked .
2) Add forward path for sucess and failure in action tag.

Thanks and Regards
Anuraag Shinde.
Programmer Analyst
Syntelinc Pune.
----- Original Message -----
From: "Marco Mistroni" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: RE: Validation
Date: Tue, 19 Oct 2004 10:25:44 +0100

> 
> Hello,
>       Have you defined any action forwards?
> Maybe problem is not validation....
> 
> Regards
>       marco
> 
> -----Original Message-----
> From: Ankur Gupta [mailto:[EMAIL PROTECTED] 
> Sent: 18 October 2004 19:18
> To: 'Struts Users Mailing List'
> Subject: Validation
> 
> Hello,
> 
> 
> I have setup validation logic on a form, however, when I click on submit
> a
> blank page is displayed. Following is my configuration:
> 
> 
> <form-beans>
>     
>     <form-bean name="logonForm"
> type="org.apache.struts.validator.DynaValidatorForm">
>       <form-property name="username" type="java.lang.String"/>
>               <form-property name="password" type="java.lang.String"/>
>       </form-bean>
> 
> 
> 
> 
> <action    path="/logon"
>         type="com.bagnet.nettracer.tracing.actions.LogonAction"
>         name="logonForm"
>         scope="request"
>         validate="true"
>         input="/index.jsp">
>     </action>
> 
> 
> What can I be doing wrong??
> 
> -ankur
> 
> 
> ---------------------------------------------------------------------
> 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]
> 
> 





-- 
_______________________________________________
Get your free email from http://fastermail.com

Powered by Outblaze

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

Reply via email to