struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oguz Kologlu <ozkolo...@optusnet.com.au>
Subject Re: action redirection
Date Mon, 28 May 2007 23:48:59 GMT
try

<forward name="success" path="/WebPatientManagenet/addPatient.do"  
redirect="true" />

add the context path as required ( eg: "/Management/ 
WebPatientManagenet/addPatient.do" )

Oz


On 29/05/2007, at 9:38 AM, Ashuin Sharma Chamorro wrote:

> Im in struts 1.2.9 .
>
> -----Original Message-----
> From: Dave Newton [mailto:newton.dave@yahoo.com]
> Sent: Monday, May 28, 2007 5:33 PM
> To: Struts Users Mailing List
> Subject: Re: action redirection
>
> http://struts.apache.org/2.x/docs/redirect-result.html
>
> --- Ashuin Sharma Chamorro <asharma@IsthmusIT.com>
> wrote:
>
>> Is it possible to redirect the application to
>> another context from the
>> struts-config.xml
>>
>>
>>
>>
>>
>> I have tried this and it doesent work, it says path
>> need to start with
>> /.
>>
>>
>>
>>         <action path="/addPatient"
>>
> type="com.dsi.evaccine.web.claims.struts.AddPatientAction">
>>
>>             <forward name="success"
>> path="../WebPatientManagement/addPatient.do"/>
>>
>>         </action>
>>
>>
>>
>>
>>
>> How can I do this? Is there a workaround?
>>
>>
>>
>>
>>
>> Please help.
>>
>>
>>
>>
>>
>>
>>
>> Ashuin Sharma
>> Software Developer
>> Isthmus Inc.
>> The Costa Rica IT Outsourcing Company
>> www.isthmusit.com
>> <blocked::http://www.isthmusit.com/>
>> asharma@isthmusit.com <mailto:asharma@isthmusit.com>
>>
>> Office +1 (506) 560-1600
>> Mobile +1 (506) 817-4059
>> Fax  +1 (506) 560-1610
>> San Jose, Costa Rica
>> ********************************************
>> The information contained in this e-mail is
>> privileged and confidential,
>> this information is intended only for the use of the
>> individual or
>> entity to which it is addressed. If you are not the
>> intended recipient,
>> you are hereby notified that any use, dissemination,
>> distribution, copy
>> or taking action in reliance upon this email is
>> strictly prohibited. If
>> you have received this e-mail in error, please
>> immediately notify the
>> sender and then delete this e-mail in its entirety.
>> ********************************************
>>
>>
>>
>>
>
>
>
>
> ______________________________________________________________________ 
> __
> ____________
> It's here! Your new message!
> Get new email alerts with the free Yahoo! Toolbar.
> http://tools.search.yahoo.com/toolbar/features/mail/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


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


Mime
View raw message