aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/WEB-INF/web.xml
diff options
context:
space:
mode:
authorGravatar Alex Bitney2016-02-07 00:00:41 +0200
committerGravatar Alex Bitney2016-02-07 00:00:41 +0200
commitc2d316449f85bd2b74ae9ffaa3d08b7a5ee282cf (patch)
treece808c6d65e4a61913497f5d397473f75fadc701 /src/main/webapp/WEB-INF/web.xml
parent1fffebc18bbdbe87b456e2b3bd66e9ce5a6afcb8 (diff)
added tags when posting new message
added templates engine (rythm engine) and moved something to it. WARNING: textext plugin does not work when minimized, and also I fixed bug in it.
Diffstat (limited to 'src/main/webapp/WEB-INF/web.xml')
-rw-r--r--src/main/webapp/WEB-INF/web.xml12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml
index 3bc3cf21..96302e3d 100644
--- a/src/main/webapp/WEB-INF/web.xml
+++ b/src/main/webapp/WEB-INF/web.xml
@@ -13,17 +13,25 @@
</servlet-mapping>
<servlet-mapping>
<servlet-name>default</servlet-name>
- <url-pattern>/scripts.js</url-pattern>
+ <url-pattern>*.css</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>default</servlet-name>
- <url-pattern>/style.css</url-pattern>
+ <url-pattern>*.js</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>default</servlet-name>
+ <url-pattern>*.testhtml</url-pattern>
</servlet-mapping>
<mime-mapping>
<extension>js</extension>
<mime-type>application/javascript;charset=UTF-8</mime-type>
</mime-mapping>
<mime-mapping>
+ <extension>testhtml</extension>
+ <mime-type>text/html;charset=UTF-8</mime-type>
+ </mime-mapping>
+ <mime-mapping>
<extension>css</extension>
<mime-type>text/css;charset=UTF-8</mime-type>
</mime-mapping>