Reduce your WAR file size or compact your WAR file

Due to popular of Spring, hibernate, Quartz, and Apache common packages, installed tomcat library already includes those libraries. If your application is a Spring application you can build a WAR file without below packages. This will not only simplify your build but also make your WAR file size smaller and can be loaded very fast. Thus, make deployment is faster and simpler.
To make sure those installed packages are compatible with your application please review the following list:
activation.jar
antlr-2.7.6.jar
aopalliance-1.0.jar
asm-attrs.jar
asm.jar
cglib-2.1.3.jar
commons-beanutils.jar
commons-codec-1.3.jar
commons-collections-3.2.jar
commons-dbcp.jar
commons-digester.jar
commons-discovery.jar
commons-fileupload-1.2.jar
commons-httpclient-3.0.1.jar
commons-io-1.3.2.jar
commons-lang-2.3.jar
commons-logging-1.1.jar
commons-net-1.4.1.jar
commons-pool.jar
commons-validator.jar
dom4j-1.6.1.jar
ehcache-1.2.3.jar
hibernate3.jar
javamelody-1.10.0.jar
jdom.jar
jrobin-1.5.9.1.jar
jstl.jar
jta.jar
junit.jar
log4j-1.2.7.jar
mail.jar
mysql-connector-java-3.1.14-bin.jar
org.springframework.aop-3.0.0.RELEASE.jar
org.springframework.asm-3.0.0.RELEASE.jar
org.springframework.aspects-3.0.0.RELEASE.jar
org.springframework.beans-3.0.0.RELEASE.jar
org.springframework.context-3.0.0.RELEASE.jar
org.springframework.context.support-3.0.0.RELEASE.jar
org.springframework.core-3.0.0.RELEASE.jar
org.springframework.expression-3.0.0.RELEASE.jar
org.springframework.instrument-3.0.0.RELEASE.jar
org.springframework.instrument.tomcat-3.0.0.RELEASE.jar
org.springframework.jdbc-3.0.0.RELEASE.jar
org.springframework.jms-3.0.0.RELEASE.jar
org.springframework.orm-3.0.0.RELEASE.jar
org.springframework.oxm-3.0.0.RELEASE.jar
org.springframework.test-3.0.0.RELEASE.jar
org.springframework.transaction-3.0.0.RELEASE.jar
org.springframework.web-3.0.0.RELEASE.jar
org.springframework.web.portlet-3.0.0.RELEASE.jar
org.springframework.web.servlet-3.0.0.RELEASE.jar
org.springframework.web.struts-3.0.0.RELEASE.jar
quartz-all-1.6.1-RC3.jar
spring-security-acl-3.0.0.RC2.jar
spring-security-config-3.0.0.RC2.jar
spring-security-core-3.0.0.RC2.jar
spring-security-taglibs-3.0.0.RC2.jar
spring-security-web-3.0.0.RC2.jar

How to enable directory listing in my tomcat

By default the directory listing is disabled.
To enable listing directories please change the value of listing in the web.xml file under [your tomcat directory]/conf from false to true as shown in XML segment belows:
<servlet>
   <servlet-name>default</servlet-name>
   <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>   
   <init-param>
      <param-name>listings</param-name>
      <param-value>false</param-value>  <!-- change this value from false to true -->
   </init-param>
   <load-on-startup>1</load-on-startup>
</servlet>






2244 Old Mill Carrollton, TX 75007 (425) 367-8702
Copyright @ 2008 Tomcat Hosting Services. All Rights Reserved.