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 37424] - welcome-file list not working with extensions
Date Wed, 09 Nov 2005 14:06:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37424>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37424





------- Additional Comments From petermenzel@gmx.de  2005-11-09 15:06 -------
(In reply to comment #6)
Can you tell which very bad consequences this feature involves ?
> The (mandatory) default configuration includes "index.jsp" in the welcome file
> list, as well as a servlet mapped to "*.jsp". This will not work well at all if
> your interpretation of the specification is correct.

So why should this bear problems? 
When having "index.jsp" in the welcome-file-list and accessing "/buzz/",
"index.jsp" is appended, resulting in "/buzz/index.jsp", which in turn is mapped
to the JspServlet which matches "*.jsp".
When this works, why should the ".bar" extension not?

<servlet-mapping>
    <servlet-name>BarServlet</servlet-name>
    <url-pattern>*.bar</url-pattern>
</servlet-mapping>
<welcome-file-list>
    <welcome-file>foo.bar</welcome-file>
</welcome-file-list>


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

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


Mime
View raw message