Hi Paul,
Looks like its a Jetty bug.
Thanks for the pointers,
Chris
--- Greg Wilkins <[EMAIL PROTECTED]> wrote:
> Date: Tue, 04 Sep 2001 20:39:44 +1000
> From: Greg Wilkins <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED],
> Leandro Saad <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Subject: Re: [jetty-support] Re: [CONF] Webapps, contexts, etc
>
>
> Sorry guys - I let this one slip through my todo list and have not
> looked at it until now.
>
> It looks like a very silly bug - that should have been detected by
> a half decent test harness - so lets call that two bugs!
>
> Line 259 in org.mortbay.jetty.servlet.ServletResponse needs to be
> changed
> from:
> type = ((type.indexOf(';')==-1)?"; charset=":"
> charset=")+
> charset;
> to
>
> type += ((type.indexOf(';')==-1)?"; charset=":"
> charset=")+
> charset;
>
> Without this, code that sets content-type and then locale will not
> work.
> If you set locale and then content-type it may have worked.
>
> Actually, it may have never worked and been relying on browsers to
> understand a filename extension to fill in the content-type!
>
> It will be fixed (and tested for) in the CVS tonight and will
> be in the next release.
>
> cheers
>
>
>
> [EMAIL PROTECTED] wrote:
>
> > Hi,
> >
> > --- In [EMAIL PROTECTED], Leandro Saad <[EMAIL PROTECTED]> wrote:
> >
> >>Here is some debugging output !
> >><myhost>
> >> [leandro@ns2 leandro]$ telnet localhost 8080
> >> Trying 127.0.0.1...
> >> Connected to localhost.localdomain.
> >> Escape character is '^]'.
> >> HEAD /myapp/servlet/myserv;JSESSIONID=38mher0ulw HTTP/1.0
> >>
> >> HTTP/1.0 200 OK
> >> Date: Wed, 15 Aug 2001 20:14:21 GMT
> >> Server: Jetty/3.0 (Linux 2.4.3-20mdk x86)
> >> Servlet-Engine: Jetty/3.0 (JSP 1.1; Servlet 2.2; java 1.3.0)
> >> Content-Language: en
> >> Content-Type: ; charset=ISO-8859-1
> >> Content-Length: 11347
> >>
> >> Connection closed by foreign host.
> >></myhost>
> >>
> >>Content-Type is not being set !!
> >>--
> >>
> >
> > Did you get to the bottom of this problem - as I seem to be
> having
> > something very similar. I am using the latest Jetty RC9, with
> the
> > latest Jetspeed jar from CVS ( http://jakarta.apache.org/jetspeed
> )
> >
> > Thanks,
> > Chris
> >
> >
> > ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> > Secure your servers with 128-bit SSL encryption! Grab your copy
> of VeriSign's FREE Guide: "Securing Your Web Site for Business."
> Get it Now!
> > http://us.click.yahoo.com/n7RbFC/zhwCAA/yigFAA/CefplB/TM
> >
>
---------------------------------------------------------------------~->
> >
> > For the latest information about Jetty, please see
> http://jetty.mortbay.com
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> >
> >
>
>
>
> --
> Greg Wilkins<[EMAIL PROTECTED]> GB Phone:
> +44-(0)7092063462
> Mort Bay Consulting Australia and UK. Mbl Phone: +61-(0)4
> 17786631
> http://www.mortbay.com AU Phone: +61-(0)2
> 98107029
>
=====
Need somewhere to Live in London - http://freeflats.com
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]