That's what I was going to say, but the previous answer of dividing it into namespaces it cleaner, IMO.
Dave --- On Wed, 6/18/08, Dave Belfer-Shevett <[EMAIL PROTECTED]> wrote: > From: Dave Belfer-Shevett <[EMAIL PROTECTED]> > Subject: Re: Wildcard mappings with subdirectories / folders? > To: "Struts Users Mailing List" <user@struts.apache.org> > Date: Wednesday, June 18, 2008, 1:12 PM > On Wed, 18 Jun 2008, Dave Belfer-Shevett wrote: > > Hi folks - I'm trying to divide up my struts app > into subdirectories (the > > application has a 'public' interface, and an > 'administrative' interface > > called 'coconut'. Don't ask). > > And here I am answering my own question. A little googling > found me this > gem: > > <constant > name="struts.enable.SlashesInActionNames" > value="true" /> > > And that fixed it. The following action entries work: > > > <action name="coconut/*"> > > <interceptor-ref name="mystack" /> > > <result > name="success">/WEB-INF/jsp/coconut/{1}.jsp</result> > > <result > name="login">/WEB-INF/jsp/coconut/index.jsp</result> > > </action> > > > > <action name="public/*"> > > <interceptor-ref name="mystack" /> > > <result > name="success">/WEB-INF/jsp/public/{1}.jsp</result> > > <result > name="login">/WEB-INF/jsp/public/index.jsp</result> > > </action> > > All fixed, thanks! > > -d > > -- > -------------------.--------.-------------------------------. > Dave Belfer-Shevett \ KB1FWR \ JID: > [EMAIL PROTECTED] \ > blog:planet-geek.com > >--------'-----------------------------------. > [EMAIL PROTECTED] / Things you'll hear if you have a > Klingon on \ > -------------------< your development team: 3) > "This code is a | > | piece of crap! You have no > honor!" | > > \______________________________________________/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]