Switch Action example

2002-08-26 Thread Greg Hess

Hi All,

I am having trouble using the SwitchAction and all the threads in the
Archives dont actualy provide an example of its use and claim that it may
not work?

Could anyone provide an example of its use.

Thanks for your time,

Greg



Re: Switch Action example

2002-08-26 Thread Marco Maier

Hi Greg,

here is an example...







The prefix request parameter specifies the application prefix.
In my example I switch to the default application.
If you want switch to the e.g. struts-cars-confix.xml sub-appplication, 
the prefix must be /cars.
BTW use & instead of & in your request past, since & confuses the
XML Parser.

Hope this helps.

Marco

Greg Hess wrote:
> Hi All,
> 
> I am having trouble using the SwitchAction and all the threads in the
> Archives dont actualy provide an example of its use and claim that it may
> not work?
> 
> Could anyone provide an example of its use.
> 
> Thanks for your time,
> 
> Greg
> 




--
To unsubscribe, e-mail:   
For additional commands, e-mail: