Subject: Configuring sub-applications
From: Bill Wohler <[EMAIL PROTECTED]>
===
Let's say I have the following goals:
1. I want the following URLs:
http://host/app/subapp1/someaction
http://host/app/subapp2/someaction
2. I want the subapps to have their own actio
s just something you need
to be aware of.
By the way, I left out the Tiles configuration, since I'm not sufficiently
familiar with it, especially in a multi-app environment.
--
Martin Cooper
At 01:55 PM 4/11/02, Struts Newsgroup wrote:
>Subject: Configuring sub-applications
>
Subject: Re: Configuring sub-applications
From: Bill Wohler <[EMAIL PROTECTED]>
===
[EMAIL PROTECTED] writes:
>
>config/subapp1
>/docroot/subapp1/struts-config.xml
>
>
>config/subapp2
>/docroot/subapp2/struts-config.xml
- Original Message -
From: "Struts Newsgroup" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 11, 2002 7:55 PM
Subject: Re: Configuring sub-applications
> Subject: Re: Configuring sub-applications
> From: Bill Wohler <[EMAIL PROTEC
Subject: Re: Configuring sub-applications
From: Bill Wohler <[EMAIL PROTECTED]>
===
"Martin Cooper" <[EMAIL PROTECTED]> writes:
> > However, with the configuration above, this gets mapped to the
> > nonexistent file:
> >
> > /myapp/suba
Subject: Re: Configuring sub-applications
From: Bill Wohler <[EMAIL PROTECTED]>
===
"Martin Cooper" <[EMAIL PROTECTED]> writes:
> > However, with the configuration above, this gets mapped to the
> > nonexistent file:
> >
> > /myapp/suba
I had the same realization as I was trying to use the new multi-app
features. Although I haven't tried it yet, take a look at the
org.apache.struts.actions.SwitchAction. Craig added it recently. It may be
the rest of what you need, not sure however.
Chuck
[...ripped earlier messages ...]
>
Subject: Re: Configuring sub-applications
From: Bill Wohler <[EMAIL PROTECTED]>
===
Since the sub-apps don't work for us, it would seem that one could
get the desired URL:
http://host/app/subapp1/action1
to map to the action in struts-config.xml:
/*
But Tomcat/Str
I heard you have to use *.do for sub-apps.
--- Struts Newsgroup <[EMAIL PROTECTED]> wrote:
> Subject: Re: Configuring sub-applications
> From: Bill Wohler <[EMAIL PROTECTED]>
> ===
> Since the sub-apps don't work for us, it would
> seem that one could
>
9 matches
Mail list logo