Re: switch action - doubt

2007-08-13 Thread Pooja Kaur
me reason my mails are not reaching > the struts group. > > N > > -Original Message- > From: Pooja Kaur [mailto:[EMAIL PROTECTED] > Sent: Monday, August 13, 2007 2:44 PM > To: user@struts.apache.org > Subject: Re: switch action - doubt > > Please anyone repl

RE: switch action - doubt

2007-08-13 Thread Nagraj Rao
:44 PM To: user@struts.apache.org Subject: Re: switch action - doubt Please anyone reply On 8/13/07, Pooja Kaur <[EMAIL PROTECTED]> wrote: > > Hi, > I have 2 war files added to an EAR. Both of them have a different context > root. Eg. Module A has test1 as the context roo

Re: switch action - doubt

2007-08-13 Thread Pooja Kaur
Please anyone reply On 8/13/07, Pooja Kaur <[EMAIL PROTECTED]> wrote: > > Hi, > I have 2 war files added to an EAR. Both of them have a different context > root. Eg. Module A has test1 as the context root and Module B has test2 > I did the following in the struts-config of Module A which is

Re: switch action - doubt

2007-08-13 Thread Pooja Kaur
The application.xml file of the EAR has two different wars with different context roots specified for them? What else should I update to imply to the server that the context root has changed? I tried by adding a global forward: and put the url as test2. But , when I run the appl, the complete ur

Re: switch action - doubt

2007-08-13 Thread Pooja Kaur
Struts Version is : 1.1 One more strange thing that is happening is: If i put the url as : http://localhost:9080/spmod/toModule.do?prefix=&page=/forwardToTrainingDB.doand debug, I reach the ActionClass having 'forwardToTrainingDB' as the action mapping, and then I get 404 error. It seems like it i

Re: switch action - doubt

2007-08-13 Thread Paul Benedict
SwitchAction does not switch between applications. It switches between Struts modules within one application. What you want to do is include the context root in your paths. There's an attribute for that. I believe it's contextRelative=true Paul On 8/13/07, ANIMESH SAXENA <[EMAIL PROTECTED]> wrote

Re: switch action - doubt

2007-08-13 Thread ANIMESH SAXENA
Could you please mention which struts version?? On 8/13/07, Pooja Kaur <[EMAIL PROTECTED]> wrote: > > Hi, > I have 2 war files added to an EAR. Both of them have a different context > root. Eg. Module A has test1 as the context root and Module B has test2 > I did the following in the struts-config

switch action - doubt

2007-08-13 Thread Pooja Kaur
Hi, I have 2 war files added to an EAR. Both of them have a different context root. Eg. Module A has test1 as the context root and Module B has test2 I did the following in the struts-config of Module A which is the default module: 1. Added an action 2. The link to switch the module has the URL

Re: Switch Action

2006-04-04 Thread Ted Husted
On 4/4/06, Sahil Gupta <[EMAIL PROTECTED]> wrote: > Hi, > > Can anyone tell me how to use Switch Action in my project. My project > consists of more than one module and I need to forward from one to > another file in different modules. > > Are there any good links availa

Switch Action

2006-04-03 Thread Sahil Gupta
Hi, Can anyone tell me how to use Switch Action in my project. My project consists of more than one module and I need to forward from one to another file in different modules. Are there any good links available to get more information about it. Regards, Sahil Gupta Extn : 233 Email