You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jay <ja...@yahoo.com> on 2007/02/28 08:34:47 UTC

Issue with forwarding to another .do

Hi,
   I hope every one is fine. Iam forwarding a 'login.do' to another  path
like this

<action path="/public/login" type="blah blah" >
    <forward name="success" path="/public/defaultPage.do">
</forward> 

<action path="/public/defaultPage"
type="org.apache.struts.actions.ForwardAction"
		parameter="/jsp/framework/layout.jsp">
</action>


PROBLEM:   when i see the jsp file the url in address bar contain login.do
at the end, but i want defaultPage.do instead of login.do...  The lesson i
get from this is that struts does not consider the chain of .do in url, it
only shows first .do iin url. Please help me to modify this property of
struts.

thanks

-- 
View this message in context: http://www.nabble.com/Issue-with-forwarding-to-another-.do-tf3307243.html#a9199220
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Issue with forwarding to another .do

Posted by Dave Newton <ne...@yahoo.com>.
--- Jay <ja...@yahoo.com> wrote:
> <action path="/public/login" type="blah blah" >
>   <forward name="success"
>            path="/public/defaultPage.do"
             redirect="true"
> </forward> 

d.



 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org