In your struts-config.xml file you can define forwards to redirect instead of 
forwarding.

robert

> -----Original Message-----
> From: Mike Zatko [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 15, 2004 11:11 AM
> To: Struts Users Mailing List
> Subject: Re: [SwitchAction] How do you switch in between application
> contexts?
> 
> 
> I know, I'm sorry I meant redirect. I'm just wondering if struts allows 
> an elegent way to create redirects to other applications without 
> hardcoding it?
> 
> Robert Taylor wrote:
> 
> >Mike, I don't believe the Servlet spec. allows you to forward to another web 
> >application.
> >You will have to redirect. 
> >
> >robert
> >
> >  
> >
> >>-----Original Message-----
> >>From: Mike Zatko [mailto:[EMAIL PROTECTED]
> >>Sent: Monday, March 15, 2004 9:14 AM
> >>To: Struts Users Mailing List
> >>Subject: Re: [SwitchAction] How do you switch in between application
> >>contexts?
> >>
> >>
> >>Ok, I don't think SwitchAction is going to do what I thought it was 
> >>meant for. I need to know how to forward control to another web 
> >>application. Right now, in my action, I'm doing a response.sendRedirect 
> >>and returning null to the action forward. I figure there has to be a 
> >>more graceful way built into struts but it eludes me. Thanks for any input.
> >>
> >>Mike Zatko
> >>
> >>
> >>
> >>James Mitchell wrote:
> >>
> >>    
> >>
> >>>http://sourceforge.net/project/showfiles.php?group_id=49385&package_id=74324
> >>>&release_id=147944
> >>>
> >>>--
> >>>James Mitchell
> >>>Software Engineer / Open Source Evangelist
> >>>EdgeTech, Inc.
> >>>678.910.8017
> >>>AIM: jmitchtx
> >>>MSN: [EMAIL PROTECTED]
> >>>Yahoo IM:[EMAIL PROTECTED]
> >>>
> >>>
> >>>
> >>>"Mike Zatko" <[EMAIL PROTECTED]> wrote in message
> >>>news:[EMAIL PROTECTED]
> >>> 
> >>>
> >>>      
> >>>
> >>>>Hello,
> >>>>   Does anyone have a simple example on how to use a SwitchAction? How
> >>>>is it defined properly in the config file?
> >>>>
> >>>>Thanks
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>> 
> >>>
> >>>      
> >>>
> >>-- 
> >>
> >>Michael H. Zatko
> >>WebSphere Developer
> >>Boscov's Information Services
> >>Work: 610-929-7317
> >>Home: 610-562-2407
> >>
> >>
> >>---------------------------------------------------------------------
> >>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]
> >
> >
> >  
> >
> 
> 
> -- 
> 
> Michael H. Zatko
> WebSphere Developer
> Boscov's Information Services
> Work: 610-929-7317
> Home: 610-562-2407
> 
> 
> ---------------------------------------------------------------------
> 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