From: Kai Moritz Date: Thu, 8 Mar 2012 23:08:49 +0000 (+0100) Subject: Juplo-Cachecontrol-Filter konfiguriert X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=c6a422a97f64165ab1f99ee1b57aefcea1ec37f4;p=percentcodec Juplo-Cachecontrol-Filter konfiguriert --- diff --git a/cachecontrol-example-jsp/pom.xml b/cachecontrol-example-jsp/pom.xml index 16cc1638..1b78cb5e 100644 --- a/cachecontrol-example-jsp/pom.xml +++ b/cachecontrol-example-jsp/pom.xml @@ -16,6 +16,14 @@ + + + ${pom.parent.groupId} + ${pom.parent.artifactId}-cachecontrol + ${pom.parent.version} + runtime + + javax.servlet @@ -24,6 +32,39 @@ runtime + + + org.springframework + spring-webmvc + ${springframework.version} + runtime + + + org.springframework + spring-context + ${springframework.version} + runtime + + + + commons-logging + commons-logging + + + + + org.springframework + spring-aspects + ${springframework.version} + runtime + + + org.aspectj + aspectjrt + ${aspectj.version} + runtime + + org.slf4j @@ -32,6 +73,7 @@ runtime + ${pom.parent.groupId} diff --git a/cachecontrol-example-jsp/src/main/resources/config.xml b/cachecontrol-example-jsp/src/main/resources/config.xml new file mode 100644 index 00000000..951402f0 --- /dev/null +++ b/cachecontrol-example-jsp/src/main/resources/config.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cachecontrol-example-jsp/src/main/resources/log4j.xml b/cachecontrol-example-jsp/src/main/resources/log4j.xml index 91fb330f..d3414bdb 100644 --- a/cachecontrol-example-jsp/src/main/resources/log4j.xml +++ b/cachecontrol-example-jsp/src/main/resources/log4j.xml @@ -14,7 +14,7 @@ - + diff --git a/cachecontrol-example-jsp/src/main/webapp/WEB-INF/web.xml b/cachecontrol-example-jsp/src/main/webapp/WEB-INF/web.xml index 0143a84e..3ca24fa5 100644 --- a/cachecontrol-example-jsp/src/main/webapp/WEB-INF/web.xml +++ b/cachecontrol-example-jsp/src/main/webapp/WEB-INF/web.xml @@ -3,4 +3,24 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> + + + contextConfigLocation + classpath:/config.xml + + + + org.springframework.web.context.ContextLoaderListener + + + + accelerator + de.halbekunst.juplo.cachecontrol.AcceleratorFilter + + + + accelerator + *.jsp + +