From 464519ca68110d819b176768600a625be1cadd29 Mon Sep 17 00:00:00 2001 From: LSZ Date: Wed, 15 Jun 2016 23:43:50 +0800 Subject: [PATCH] Add ehcache, gzip filter; mysql connector version to 5.1.35 --- pom.xml | 7 ++++++- src/main/webapp/WEB-INF/web.xml | 36 +++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 414c7d3..76d2394 100644 --- a/pom.xml +++ b/pom.xml @@ -309,10 +309,15 @@ mysql mysql-connector-java - 5.1.6 + 5.1.35 compile + + net.sf.ehcache + ehcache-web + 2.0.4 + log4j diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index c70e61b..c878032 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -31,6 +31,42 @@ /* + + + gzipFilter + + net.sf.ehcache.constructs.web.filter.GzipFilter + + + + gzipFilter + *.css + + + gzipFilter + *.png + + + gzipFilter + *.gif + + + gzipFilter + *.jpeg + + + gzipFilter + *.html + + + gzipFilter + *.jpg + + + gzipFilter + *.js + + springSecurityFilterChain