Try using a "SuccessAction" that returns a real live ActionForward 

return findForward("success"); 

with something like this 

<forward name="success" path="http://jakarta.apache.org"; contextRelative="true"/>

and see if that gets you out. 

The internal forward= action is already module/context relative. In 1.0, I had been 
using forward= inside the 
application and ForwardAction to get out. 

Maybe ForwardAction should always be contextRelative, since it's stated purpose is to 
let us interact with other 
servlets, which implies it shouldn't understand modules at all. 

I think there's another ticket in there about ForwardAction bypassing the 
RequestProcessor. May be it needs to 
create an ActionForward on the fly and set it to contextRelative=true, and then just 
return that.

I think a lot of people may be using ForwardAction when the ActionMapping.forward 
would be better suited, and 
maybe we need to clarify the difference. 

I think ForwardAction is for hooking up with other servlets, applications, or domains, 
and ActionMapping.forward 
is for hooking up with other Struts resources in the same module, like JSPs.

-Ted.

10/18/2002 3:02:33 PM, Eddie Bush <[EMAIL PROTECTED]> wrote:

>Maybe I'm being thick-headed here, but I cannot succeed in formulating 
>anything that lets me go to, say http://www.yahoo.com by way of an action.
>
>My testing has centered primarily around use of ForwardAction.
>
>Ted Husted wrote:
>
>>I guess I'm still missing the point here. 
>>
>>If contextRelative=true, are we not reverting to the Struts 1.0.x behavior?
>>
>>If we didn't need an absolute property in Struts 1.0.x, why do we need one now?
>>
>>-Ted.
>>
>
>-- 
>Eddie Bush
>
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
>For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>
>
>




--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to