Perhaps you should consider providing the 
ServletOutputStream from the HttpServletResponse
to HSSF for writing the sheet.  You may also need to
set the mime type to whatever (I'm guessing you're on
windows) your XLS association is set to (probably Application/vnd.Excel
or something like that).

-Andy

On Wed, 2002-03-20 at 05:49, Missy Mohammadov wrote:
> Dear all,
> So far, I've made using POI to create excel files.
> Thanks to u who share their experience about log4j
> which i didn't know where it being called but
> preventing my code to work as well.
> I wanna ask, whether it is possible to create excel
> file on client machine, thou file creation is on
> server machine.
> I've tried ran my code on Apache 1.3.x and Allaire
> JRun Server (my Tomcat still can't run :( ) and it
> created excel files in WEB-INF/classes/ on server
> machine. That what I didn't expected as I want every
> client holds its own excel file on his machine.
> Any suggestion ?  Thanks in advance !
> 
> regards,
> Irkham
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage
> http://sports.yahoo.com/
-- 
http://www.superlinksoftware.com
http://jakarta.apache.org/poi - port of Excel/Word/OLE 2 Compound
Document 
                            format to java
http://developer.java.sun.com/developer/bugParade/bugs/4487555.html 
                        - fix java generics!
The avalanche has already started. It is too late for the pebbles to
vote.
-Ambassador Kosh

Reply via email to