You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by ma...@apache.org on 2004/08/10 23:11:43 UTC

cvs commit: jakarta-slide/src/conf/webapp web.xml

masonjm     2004/08/10 14:11:42

  Modified:    src/conf/webapp web.xml
  Log:
  Added mapping for webdav servlet so that .jsp files can be uploaded on Tomcat
  
  Revision  Changes    Path
  1.31      +7 -0      jakarta-slide/src/conf/webapp/web.xml
  
  Index: web.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/conf/webapp/web.xml,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- web.xml	23 Jun 2004 13:17:15 -0000	1.30
  +++ web.xml	10 Aug 2004 21:11:42 -0000	1.31
  @@ -222,6 +222,13 @@
           <servlet-name>webdav</servlet-name>
           <url-pattern>/</url-pattern>
       </servlet-mapping>
  +    <!-- For some app servers (Tomcat)
  +         .jsp files must be mapped
  +         explicitly -->
  +    <servlet-mapping>
  +        <servlet-name>webdav</servlet-name>
  +        <url-pattern>*.jsp</url-pattern>
  +    </servlet-mapping>
       <!-- Set the default session timeout (in minutes) -->
       <session-config>
           <session-timeout>30</session-timeout>
  
  
  

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