Hello, I have tried to add a filter in web.xml in designer but it did not work. Here is my web.xml:

<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
         <param-value>default-src 'self';report-uri http://cspreport.csnc.ch/collector.cgi</param-value>

I got this from error log alt text

asked 12.05.2017 at 00:02

Bang%20Ngo's gravatar image

Bang Ngo
accept rate: 0%

converted to question 12.05.2017 at 03:35

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦

I no clue what you are trying to achieve. Can you provide more context?

(12.05.2017 at 03:36) SupportIvyTeam ♦♦ SupportIvyTeam's gravatar image

I want to add CSP header. So I tried one of the solution here http://answers.axonivy.com/questions/904/how-can-i-set-response-headers-in-jsf which adding the filter in web.xml. But when I add the filter into web.xml I got this problem

(12.05.2017 at 03:42) Bang Ngo Bang%20Ngo's gravatar image
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 12.05.2017 at 00:02

Seen: 1,979 times

Last updated: 12.05.2017 at 03:42