Questions Tagged With tomcathttps://answers.axonivy.com/tags/tomcat/?type=rss&user=Bang%20Ngoquestions tagged <span class="tag">tomcat</span>enFri, 12 May 2017 00:02:30 -0400Unable to install a custom Tomcat filterhttps://answers.axonivy.com/questions/2617/unable-to-install-a-custom-tomcat-filter<p>Hello, I have tried to add a filter in web.xml in designer but it did not work. Here is my web.xml:</p> <pre><code>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt; &lt;web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee <a href="http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"</a> version="3.0" metadata-complete="false"&gt; &lt;session-config&gt; &lt;session-timeout&gt;30&lt;/session-timeout&gt; &lt;/session-config&gt; &lt;filter&gt; &lt;filter-name&gt;CspFilter&lt;/filter-name&gt; &lt;filter-class&gt;ch.axonivy.fintech.acrevis.CspFilter&lt;/filter-class&gt; &lt;init-param&gt; &lt;param-name&gt;value&lt;/param-name&gt; &lt;param-value&gt;default-src 'self';report-uri <a href="http://cspreport.csnc.ch/collector.cgi</param-value>">http://cspreport.csnc.ch/collector.cgi&lt;/param-value&gt;</a> &lt;/init-param&gt; &lt;/filter&gt; &lt;filter-mapping&gt; &lt;filter-name&gt;CspFilter&lt;/filter-name&gt; &lt;url-pattern&gt;*.xhtml&lt;/url-pattern&gt; &lt;/filter-mapping&gt; &lt;/web-app&gt; </code></pre> <p>I got this from error log <img alt="alt text" src="http://answers.axonivy.com/upfiles/Untitled_P35w3wj.png"></p>Bang NgoFri, 12 May 2017 00:02:30 -0400https://answers.axonivy.com/questions/2617/unable-to-install-a-custom-tomcat-filtersoaptomcat