title: How do I set X-FRAME-OPTIONS in JBoss EAP 6.1?
body: <p>I am running a java spring application on Jboss EAP 6.1
  X-FRAME-OPTIONS in the request header when performing a file upload is DENY and I receive the following errors. The file upload also does not appear on the page.</p>
  
  <p><img src="https://i.stack.imgur.com/oX4ic.png" alt="iframe errors"></p>
  
  <p>All of the solutions I see online say that I should try setting this value to SAMEORIGIN. They also show how to configure this in Apache but does anyone know how I set this option for Jboss?</p>