1 | <?xml version="1.0" encoding="UTF-8"?> |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <web-app xmlns="http://java.sun.com/xml/ns/javaee" |
2 | <web-app xmlns="http://java.sun.com/xml/ns/javaee" |
3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" |
4 | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" |
5 | version="2.5" |
5 | version="3.0" |
6 | id="site"> |
6 | id="site"> |
7 | |
7 | |
8 | <display-name>Restyling Demo site</display-name> |
8 | <display-name>Restyling Demo site</display-name> |
9 | <description>Restyling Demo site</description> |
9 | <description>Restyling Demo site</description> |
10 | |
10 | |
… | |
… | |
80 | </filter> |
80 | </filter> |
81 | |
81 | |
82 | <filter> |
82 | <filter> |
83 | <filter-name>HstFilter</filter-name> |
83 | <filter-name>HstFilter</filter-name> |
84 | <filter-class>org.hippoecm.hst.container.HstFilter</filter-class> |
84 | <filter-class>org.hippoecm.hst.container.HstFilter</filter-class> |
85 | <init-param> |
|
|
86 | <param-name>prefixExclusions</param-name> |
|
|
87 | <!-- on purpose /resources/ is not added here a prefix exclusion as resources should be catched |
|
|
88 | in general by suffixExclusions --> |
|
|
89 | <param-value>/ping/, /binaries/, /login/, /hst/pagecomposer/sources/</param-value> |
|
|
90 | </init-param> |
|
|
91 | <init-param> |
|
|
92 | <param-name>suffixExclusions</param-name> |
|
|
93 | <param-value>.jsp, .ftl, .FTL</param-value> |
|
|
94 | </init-param> |
|
|
95 | </filter> |
85 | </filter> |
96 | |
86 | |
97 | <filter-mapping> |
87 | <filter-mapping> |
98 | <filter-name>CharacterEncodingFilter</filter-name> |
88 | <filter-name>CharacterEncodingFilter</filter-name> |
99 | <url-pattern>/*</url-pattern> |
89 | <url-pattern>/*</url-pattern> |