SHARE
TWEET

Untitled

a guest Dec 15th, 2016 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!-- Enable directory listings by overriding the server default web.xml -->
  2. <!-- definition for the default servlet -->
  3. <servlet>
  4.     <servlet-name>DefaultServletOverride</servlet-name>
  5.     <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
  6.     <init-param>
  7.         <param-name>listings</param-name>
  8.         <param-value>true</param-value>
  9.     </init-param>
  10.     <load-on-startup>1</load-on-startup>
  11. </servlet>
  12.  
  13. <!-- Add a mapping for our new default servlet -->
  14. <servlet-mapping>
  15.     <servlet-name>DefaultServletOverride</servlet-name>
  16.     <url-pattern>/</url-pattern>
  17. </servlet-mapping>
RAW Paste Data
Top