As part of localizing a site, I'm trying to set the content type of the response. Now 
I now I can do this within the JSP (<%@ page contentType="text/html; charset=UTF-8" %> 
). 
But I'd rather do this globally. I found out that you can set this as a parameter of 
the controller in struts. This would work fine if the JSP compiler wasn't also setting 
the content type automatically.

So do someone know a container setting to do this ? Is there something like a 
"pre-compiler" for JSP, that would change/add code to each JSP before giving it to the 
JSP compiler ?

Thanks,
Yann

Reply via email to