tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Sexton" <gsex...@mhsoftware.com>
Subject Tomcat 5.0.14 Welcome File Broken?
Date Sun, 09 Nov 2003 21:57:53 GMT
I set up 5.0.14 w/ a welcome file that is a mapped servlet, and the
mapped resource is not returned as expected. I think this is a bug:

<servlet>
  <servlet-name>ViewCal</servlet-name>
  <servlet-class>com.mhsoftware.cdaily.servlet.ViewCal</servlet-class>
</servlet>
<servlet-mapping>
  <servlet-name>ViewCal</servlet-name>
  <url-pattern>/ViewCal.html</url-pattern>
</servlet-mapping>
<welcome-file-list>
  <welcome-file>ViewCal.html</welcome-file>
</welcome-file-list>


>From the specification:

SRV 9.10

If a web container receives a valid partial request, the web container
must
examine the welcome file list defined in the deployment descriptor. The
welcome
file list is an ordered list of partial URLs with no trailing or leading
/. The web
server must append each welcome file in the order specified in the
deployment
descriptor to the partial request and check whether a resource in the
WAR is
mapped to that request URI.



George Sexton
MH Software, Inc.
Voice: 303 438 9585
http://www.mhsoftware.com 
 


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


Mime
View raw message