Hello.
Just beginning to learn howto use jrun2.3 while learning java servlets. It worked
perfectly well when I was developing in Win98. But when I started deploying to a proxy
server [using WinNT and IIS4.0], I couldn't make the thing visible on the internet.
Locally, however, people can see it- output of the servlets.
The proxy port number is 8888. For the port number entry box in Jrun Connection
wizard, we tried 8888, 8080, etc. Nothng seems to work. Locally, it does.
What seems to be the problem? Can anyone help me. Any help would be appreciated.
Best wishes,
Danny
--- "Sven Spreier" <[EMAIL PROTECTED]>
> wrote:
>
>Dear Vit.
>
>thank you very much for your advice. It works now as I wanted it to work --
>without the need to place it in a servlet. Thanks!
>
>Kind regards
> Sven Spreier
>
>-----Urspr�ngliche Nachricht-----
>Von: "Vitaly Shorin" <[EMAIL PROTECTED]>
>An: "JRun-Talk" <[EMAIL PROTECTED]>
>Gesendet: Sonntag, 31. Dezember 2000 09:26
>Betreff: Re: jsp and getOutputstream
>
>
>> Hi,
>> you should place
>>
>> response.reset();
>> ServletOutputStream sos=response.getOutputStream();
>>
>> After response.reset() you may choose what to use either
>response.getWriter
>> (as JSP do by default) or response.getOutputStream().
>>
>> Regards,
>> Vit.
>>
>>
>> ----- Original Message -----
>> From: "Scott Stirling" <[EMAIL PROTECTED]>
>> To: "JRun-Talk" <[EMAIL PROTECTED]>
>> Sent: Sunday, December 31, 2000 9:24 AM
>> Subject: RE: jsp and getOutputstream
>>
>>
>> > 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
>> >
>> >
>> >
>>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists