bhaarat Sharma wrote:
What you need to do is provide the result with a source of the >data
to be sent to the client.
and that data has to be in java.io.InputStream??
An InputStream is a source of data.
An OutputStream is a destination for data.
even if my getExcelStream method returns java.io.OutputStream...I
still get an exception
Because the result can't read() from an OutputStream.
so what TYPE of data should getExcelStream be returning :(
It should be returning something that extends InputStream.
I don't think your workbook method is doing what you think it's doing.
It might make sense if it took an output stream as a parameter, like
wb.write(outputStream), but if it is returning an output stream then
it's really asking for input...
-Dale
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]