I read the spec the same way as you do.
I have written filters that are even more permissive than this fix, and
I have also written filters that strictly adhere to the spec.
Strictly adhering to the spec is definitely the way to go.
If you want/need your application to violate the spec, you can w
Create a Filter, map it to the relevant requests, and in your doFilter()
method do something like this:
chain.doFilter(
request,
new HttpServletResponseWrapper(httpres) {
public void setContentType(String type) {
}
public void setHeader(String name, String value) {
ssage-
From: Ian Darwin [mailto:[EMAIL PROTECTED]
Sent: Monday, July 09, 2007 11:40 AM
To: Tomcat Developers List
Subject: Re: Removing the examples (JSP/servlet) in TC Binaries
Leech, Jonathan wrote:
> My 2 cents:
> - Don't install the examples by default.
> - Implement them in strai
My 2 cents:
- Don't install the examples by default.
- Implement them in straight .jsp / servlets etc w/o using frameworks.
- Encourage each framework to implement the same examples using their
framework.
-Original Message-
From: Ian Darwin [mailto:[EMAIL PROTECTED]
Sent: Monday, July 09