Hi
I think the problem is that iPlanet will not allow u to open one more Output stream apart from the stream it is using for Jsp Out object.
For Jsp the implicit Object "out " is using the output stream aready. So i think u can use a loop for checking whether the user has clicked the download button. If yes enter a loop where u will use the Implicit Out Object of Jsp to download after setting the content-type & content-header, instead of trying to use the ServletOutputStream..
 
I hope that will solve ur problem.
 
regards
Rajesh Nair
 

*********** REPLY SEPARATOR ***********

On 4/19/02 at 2:44 PM S Srinivas Nayak wrote:
Hi all
 
I have a typical problem in downloading a excel file in jsp . It gives me a error stating that the out put stream is already in use. I have used a servlet output stream to download a excel file online i.e. without saving in the server , but directly writing into the stream.
 
I have tried flushing the stream and also explictly closing the stream. Still the pblm exists .
 
The environment is jsp and server is iPlanet.
 
Can any one help regarding this.
 
Thanx in advance,
Srinivas
 

Reply via email to