Thank U Oleg,

But like I mentioned earlier if I remove the input tag, it gives me a page
not found error!!!!

Ne more hints???

-----Original Message-----
From: Oleg V Alexeev [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 13, 2001 1:22 AM
To: [EMAIL PROTECTED]
Subject: Re: Forward Problem


Hello Sridhar,

Try to remove 'input' attribute from action mapping. I view
validate=false here - you are not use validate after form submitting -
why do you specify input attribute?

Here is quote from struts-config.dtd -

     input           Context-relative path of the input form to which
control
                     should be returned if a validation error is
encountered.
                     Required if "name" is specified and the input bean
                     returns validation errors.  Optional if "name" is
                     specified and the input bean does not return validation
                     errors.  Not allowed if "name" is not specified.



Tuesday, June 12, 2001, 5:49:55 PM, you wrote:

SS> Hi All,

SS> We are using Struts Version 1. We are having a problem with the forward
tag
SS> of the action defined in struts-config.xml.
SS> No matter what is defined in the forward it is going to the page defined
in
SS> input.

SS> I am attaching a part of the struts-config for clarity:

SS>     <action    path="/registerFormAction"
SS>                type="net.itcube.bsts.user.register.RegisterFormAction"
SS>                name="registerForm"
SS>               scope="session"
SS>              input="/Register.jsp"
SS>            validate="false">
SS>       <forward name="success"           path="/PostRegistration.html"/>
SS>     </action>


SS> Once the action is performed action.findForward returns "success" (This
we
SS> checked!!!). But still the page in the above case goes to Register.jsp
SS> instead of PostRegistration.html.

SS> If we remove the input tag it gives a 500 page not found error.

SS> We have successfully deployed a project on struts with an earlier
version
SS> and never faced such a problem.

SS> Can someone please throw some light on it????


SS> Cheers,
SS> Sridhar S
SS> You must be the change you wish to see in the world
SS>  --- Mahatma Gandhi.




--
Best regards,
 Oleg                            mailto:[EMAIL PROTECTED]



Reply via email to