Prev: finite state machine with enum
Next: Mismatch in Statement and PreparedStatement execution in OracleDB.
From: tomo on 10 Feb 2010 13:50 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
From: Arne Vajhøj on 10 Feb 2010 16:44
On 10-02-2010 13:50, tomo wrote: > 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 |