Ethan Sutin wrote:
http://java.sun.com/products/servlet/Filters.html
I tried also with this filter
/**
* @web.filter name=ContentType
* @web.filter-mapping url-pattern=*.jsp
*/
public class ContentTypeFilter implements Filter {
public void doFilter(ServletRequest request,
I want to send the output of my JSPs as application/xhtml+xml in UTF-8.
All the pages I send are XHTML in UTF-8, but the browsers can't understand
them because Tomcat (Apache-Coyote/1.1, the one bundled with JBoss 3.2.5)
set Content-Type to text/html without any encoding information.
I tried to