Re: PageRedirectException problem inside the service() method.

2006-06-01 Thread Leo Sakhvoruk
Got it fixed, Moved the call to getOutputStream() to a place right before it's actually needed so that most initialization try/catch(ing) would be done before that and if an error was caught the PageRedirectException is processed without any issues since getOutputStream() is not called yet.

PageRedirectException problem inside the service() method.

2006-05-31 Thread Leo Sakhvoruk
I'm working on getting a service working which provides a page with a link to an audio file. When the link is clicked the service() method connects to the audio url on another server and basically pipes the data stream to the requesting page. The service is also supposed to display an error on