diff options
author | 2015-12-25 10:27:01 +0300 | |
---|---|---|
committer | 2015-12-25 10:27:01 +0300 | |
commit | 55ff084f3538216a6aab76973e32ee0c8515b00d (patch) | |
tree | b932eb2bac085c6d7b0aaac4a21dc601cb7fb078 /src/main/webapp/WEB-INF/web.xml | |
parent | 89cd9060b1880ba3d41b5c9349552f61a35d80b0 (diff) |
fix js/css charset
Diffstat (limited to 'src/main/webapp/WEB-INF/web.xml')
-rw-r--r-- | src/main/webapp/WEB-INF/web.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index a7cb489a..72777b83 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -16,6 +16,14 @@ <servlet-name>default</servlet-name> <url-pattern>/style.css</url-pattern> </servlet-mapping> + <mime-mapping> + <extension>js</extension> + <mime-type>application/javascript;charset=UTF-8</mime-type> + </mime-mapping> + <mime-mapping> + <extension>css</extension> + <mime-type>text/css;charset=UTF-8</mime-type> + </mime-mapping> <session-config> <session-timeout> 30 |