Jean-Michel Leon wrote:
> I didn't say I'd consider 1.0 unstable. I'd expect a 1.0 release of
> Tomcat to be complete, compliant and solid. this 3.0 release of tomcat
> is a joke. and my point is that this is not good for the OS community.
There were earlier releases in different forms with various numbers.
3.0 indicates Tomcat is a replacement for all of them.
> > > among all the things that are not working properly:
> > >
> > > - response.setHeader("Content-Type", "foo/bar"); does not set the
> > > content-type
> >
> > Are you by chance calling it at the wrong time (i.e. after the
> > response is
> > committed to the output stream)?
>
> I don't think I'm doing anything illegal, I've reduced it to a sample
> JSP file containing simply:
> <%
> response.setHeader("Content-Type", "foo/bar");
> %>
> and it still fails.
Ah, you are doing the call from a JSP! Look at the
<%@ page contentType="text/html" %> directive. That's how the spec
says to set the content type from a JSP.
> I'm not sure if this is compliant with the spec
So check out the JSP spec.
-jh-
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html