RE: Fix #43236

2008-03-05 Thread Leech, Jonathan
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

RE: remove "content-length" item from the http header of HttpServletResponse

2008-02-27 Thread Leech, Jonathan
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) {

RE: Removing the examples (JSP/servlet) in TC Binaries

2007-07-09 Thread Leech, Jonathan
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

RE: Removing the examples (JSP/servlet) in TC Binaries

2007-07-09 Thread Leech, Jonathan
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