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
>   get the desired URL:
> 
>     http://host/app/subapp1/action1
> 
>   to map to the action in struts-config.xml:
> 
>     <action path="/subapp1/action1" ...
> 
>   with the following path mapping in web.xml:
> 
>     <url-pattern>/*</url-pattern>
> 
>   But Tomcat/Struts doesn't seem to like this. Is
> this a deficiency of
>   Tomcat and/or Struts or in the 2.3 servlet spec?
> 
> 
>   We can keep the actions in struts-config.xml
> unchanged, but we have
>   to change the mapping to *.do and the URLs to:
> 
>     http://host/app/subapp1/action1.do
> 
>   One other person suggested a mapping of /do/*
> leading to paths of:
> 
>     http://host/app/do/subapp1/action1
>     
>   Not much better. Sigh. If I'm overlooking
> something, I'd appreciate
>   hearing from you.
> 
> -- 
> Bill Wohler <[EMAIL PROTECTED]> 
> http://www.newt.com/wohler/  GnuPG ID:610BD9AD
> Maintainer of comp.mail.mh FAQ and mh-e. Vote
> Libertarian!
> If you're passed on the right, you're in the wrong
> lane.
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to