Created
June 11, 2011 11:40
-
-
Save rbackhouse/1020486 to your computer and use it in GitHub Desktop.
Required web.xml configuration for the Zazl JS Optimizer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> | |
<context-param> | |
<param-name>javaChecksum</param-name> | |
<param-value>true</param-value> | |
</context-param> | |
<context-param> | |
<param-name>compressJS</param-name> | |
<param-value>true</param-value> | |
</context-param> | |
<servlet> | |
<description/> | |
<display-name>JSServlet</display-name> | |
<servlet-name>JSServlet</servlet-name> | |
<servlet-class>org.dojotoolkit.optimizer.servlet.JSServlet</servlet-class> | |
<load-on-startup>2</load-on-startup> | |
</servlet> | |
<servlet-mapping> | |
<servlet-name>JSServlet</servlet-name> | |
<url-pattern>/_javascript/*</url-pattern> | |
</servlet-mapping> | |
</web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment