Bug 11542 - cannot transfer jsp files with webdav default installation
Summary: cannot transfer jsp files with webdav default installation
Status: RESOLVED WORKSFORME
Alias: None
Product: Tomcat 4
Classification: Unclassified
Component: Servlets:WebDAV (show other bugs)
Version: 4.1.27
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-07 22:43 UTC by Mike Traum
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.