[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Home]
Re: image.jsp problem (WAS: Location of dependent classes...)
I don't, really. I just wanted to get the example working to see if/how
outputting binary data via a .jsp was done. My original
response.getOutputStream() test was with text, and I just mentioned that it
can't be used with "out". Then I went on to say that I couldn't imagine
ever needing to.
In any case, I think the example image.jsp should be modified, since it
doesn't work with some JDKs.
----
George
>From: Wes Biggs <wes@xerxes.cacas.org>
>Reply-To: wes@xerxes.cacas.org
>To: Carsten Heyl <Heyl@nads.de>, Carsten Heyl <heyl@nads.de>, George
>Burns <george_burns@hotmail.com>, time@ice.com, Heyl@nads.de,
>gnujsp@gjt.org
>Subject: Re: image.jsp problem (WAS: Location of dependent classes...)
>Date: Thu, 14 Oct 1999 14:17:30 -0700
>
>Quoting Carsten Heyl <heyl@nads.de>:
>
> >
> > Why do you want to include binary data inside HTML?
>
>This seems to be the crux of the matter... you should be able to write a
>servlet
>that does this just fine by calling response.getOutputStream() and dealing
>with
>it directly (I've done the same exact thing before for image generation)
>
>The servlet spec really treats the outputStream/writer thing as an
>either/or
>proposition, and in JSP you don't even get the option (in fact you ought to
>get
>an exception when you call response.getOutputStream() after
>response.getWriter()
>has been called, I'm surprised this isn't happening...)
>
>Wes
>
>
>-----------------------------------------------------
>This mail sent through IMP: http://web.horde.org/imp/
>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com