tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Sexton" <gsex...@mhsoftware.com>
Subject RE: Tomcat 5.0.14 Welcome File Broken? - NOT
Date Sun, 09 Nov 2003 22:02:27 GMT
Oops. That was really dumb of me. The welcome file list was commented
out. I have really got to stop using VI to edit files...

-----Original Message-----
From: George Sexton [mailto:gsexton@mhsoftware.com] 
Sent: Sunday, November 09, 2003 2:58 PM
To: tomcat-dev@jakarta.apache.org
Subject: Tomcat 5.0.14 Welcome File Broken?


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


---------------------------------------------------------------------
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