JSF + XLS ?

T

tomo

Let's say I want to create new XLS file with jxl (jexcel) in some
controller. The function for this is createWorkbook(java.io.File file) , but
it works when you put let's say c:\somedir\somefile.xls, but
my problem is that this is web application, and I don't have any local
directories. Any suggestions ?





__________ Information from ESET NOD32 Antivirus, version of virus signature database 4855 (20100210) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
A

Arne Vajhøj

Let's say I want to create new XLS file with jxl (jexcel) in some
controller. The function for this is createWorkbook(java.io.File file) , but
it works when you put let's say c:\somedir\somefile.xls, but
my problem is that this is web application, and I don't have any local
directories. Any suggestions ?

The jexcel code can only create files on disk, then you need
a directory that is writeable by your web app.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top