tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47378] welcome-file ignores servlet mapping
Date Mon, 03 Aug 2009 02:41:13 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47378





--- Comment #11 from Rex Wang <rwonly@gmail.com>  2009-08-02 19:41:08 PST ---

Hi Tim, I tried again.. but still not work. I am not sure if we are on the same
page, this is my web.xml:
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...>
  <welcome-file-list>
    <welcome-file>/Hello</welcome-file>
  </welcome-file-list>
  <servlet>
    <servlet-name>HelloServlet</servlet-name>
    <servlet-class>com.abc.HelloServlet</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>HelloServlet</servlet-name>
    <url-pattern>/Hello</url-pattern>
  </servlet-mapping>
</web-app>

(In reply to comment #10)
> Created an attachment (id=24065)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24065) [details]
> Patch against tomcat 6.0
> 
> Here is a working patch. (At least in a simple test case) Previous attempt was
> wrong on soooo many levels.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message