Bug 11542

Summary: cannot transfer jsp files with webdav default installation
Product: Tomcat 4 Reporter: Mike Traum <mtraum>
Component: Servlets:WebDAVAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 4.1.27   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description Mike Traum 2002-08-07 22:43:35 UTC
jsp files fail to be transferred, resulting in a 404 in the access logs. I 
suspect that this is because of $TOMCAT_HOME/conf/web.xml mapping of jsp. So, 
they need to be mapped to webdav for the webdav app by adding this to 
webdav/WEB-INF/web.xml:
  <!-- mapping to remove jsp mapping so can use webdav w/ jsps -->
  <servlet-mapping>
    <servlet-name>webdav</servlet-name>
    <url-pattern>*.jsp</url-pattern>
  </servlet-mapping>
Comment 1 Mark Thomas 2004-02-13 20:29:40 UTC
I have tested this with the latest webdav servlet and this works for me. If 
you still experience this problem please be more specific about what "fail to 
be transferred" means.