You can override the _jspService method of the JSP. That's the only way I
know of.
Why use a JSP for what you're doing? It probably won't be a very clean
looking JSP. One suggestion is to write a custom tag that does whatever
output stream processing you need, or (another suggestion) write a servlet
to do it and have the JSP forward or include the servlet.
I'd be glad to bounce ideas around. If you discuss it in a bit more detail
on the list, someone whose done something similar to what you're trying to
do may pipe in with a solution.
Best regards,
Scott Stirling
> -----Original Message-----
> From: Sven Spreier [mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 29, 2000 10:52 AM
> To: JRun-Talk
> Subject: jsp and getOutputstream
>
>
> Hello
>
> do I have the possibility to prevent the JSP-engine from calling the
> statement
>
> JspWriter out = pageContext.getOut();
> ?
>
> I do not want to have the intrinsic out-writer, because after
> this I can not
> write binary content with an outputstream. Do I need to write a servlet to
> do this, because it is allways illegal to call
> "response.getOutputStream()"
> from a jsp?
>
> Kind regards
> Sven Spreier
~~~~~~~~~~~~~ Paid Sponsorship ~~~~~~~~~~~~~
Get Your Own Dedicated Win2K Server! Instant Activation for $99/month w/Free
Setup from SoloServer PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support
Visit SoloServer, https://secure.irides.com/clientsetup.cfm.
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists