views:

272

answers:

1

hi, I want to set the emulateIE7 tag on per site basis. For that i'l need to set the same tag in http header. I am using jboss. So can anyone please tell me how to add custom http header in jboss..

A: 

Use javax.servlet.http.HttpServletResponse.addHeader(String, String) to add headers to a response.

You can access the HttpServletResponse in a Servlet, JSP or a (Servlet) Filter.

mafro