Hello
I have the same problem as yours.
But I could not solve this.
You did something aa beyond this?

Thanks
Itamar Nunes
Brazil


Dave Belfer-Shevett-2 wrote:
> 
> 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: d...@jabber.stonekeep.com \
> blog:planet-geek.com >--------'-----------------------------------.
> d...@homeport.org    / 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: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Wildcard-mappings-with-subdirectories---folders--tp17987316p24775300.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to