JSPs, HTML files and Servlets will work, but pointing to an action will
not. This is not a struts limitation, it was part of the spec. 

[quote servlet-2_4-fr-spec.pdf]
The Web server must append each welcome file in the order specified in
the deployment descriptor to the partial request and check whether a
static resource or servlet in the WAR is mapped to that request URI. The
Web container must send the request to the first resource in the WAR
that matches. 
[/quote]

On Thu, 2008-11-13 at 11:42 +0100, Cappelletti Marc wrote:
> Hi all,
>  
> I've mapped my struts action *.do in the web.xml file and it works when
> I access a struts action directly with the URL (eg:
> http://localhost:8080/mcbc/welcome.do
> <http://localhost:8080/mcbc/welcome.do> )
>  
> But, when I go to the root of my webapp (http://localhost:8080/mcbc/ ),
> my welcome-file-list tag, which points to a struts action welcome.do is
> ignored by tomcat. And if I put a jsp file or a servlet in this welcome
> list, it works.
>  
> Does anyone have an idea of the problem?
>  
> Regards
>  
> Marc


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

Reply via email to