Configure an Action Mapping like so:

<action path="/test" type="com.mycompany.myapp.actions.TestAction" >
  <forward name="externalForward" path="http://www.omnytex.com"; redirect="true" 
/>
</action>

That's all.  If you need it to be a little more dynamic, like I notice you said 
it was on the same server, if it might be moved from server to server, than get 
a reference to the forward above in your Action, then construct the path 
dynamically there before returning it.

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com

On Thu, January 27, 2005 3:11 pm, [EMAIL PROTECTED] said:
> Hi Michael,
> 
> have a look in your struts-config.xml.
> 
>                 <forward  name = "Success"
>                            path = "/ViewSettings.do"
>                           redirect = "true"/>
> 
> 
> Greets Mark
> 
> Michael Oliver wrote:
> 
>>I would like to forward the user out of struts to a URL after an action
>>executes without additional user input, what is the best way in Struts?
>>I can use a page that has a redirect javascript in it, but is there a
>>facility in Struts to do this?
>>
>>
>>
>>Michael Oliver
>>
>>CTO
>>
>>Alarius Systems LLC
>>
>>3325 N. Nellis Blvd, #1
>>
>>Las Vegas, NV 89115
>>
>>Phone:(702)643-7425
>>
>>Fax:(520)844-1036
>>
>>*Note new email changed from [EMAIL PROTECTED]
>>
>>
>>
>>
>>
>>
> 
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to