RE: Why do we need SwitchAction

2003-01-30 Thread Sharma, Sanjay (LNG-DAY)
ECTED]] Sent: Thursday, January 30, 2003 4:03 PM To: Struts Users Mailing List Subject: Re: Why do we need SwitchAction Doing things your way leaves the wrong ModuleConfig stored under the request attribute identified by Globals.MODULE_KEY, so the destination action or page will likely misbehave. Yo

Re: Why do we need SwitchAction

2003-01-30 Thread Craig R. McClanahan
Doing things your way leaves the wrong ModuleConfig stored under the request attribute identified by Globals.MODULE_KEY, so the destination action or page will likely misbehave. You can avoid using SwitchAction, as long as you emulate what it accomplishes -- a call to RequestUtils.selectModule() f

RE: Why do we need SwitchAction

2003-01-30 Thread Sharma, Sanjay (LNG-DAY)
May be I understand why SwicthAction is needed. If I want to forward from an Action in module A to a JSP in module B, I can set the contextRelative to true. ... However when I get to JSP in moduleB, I am still really in module A (Module A is the current module on the request). All UR