[Building Sakai] File in Sakai
le tan vu
imleeu at gmail.com
Wed May 26 11:05:20 PDT 2010
Hello everyone
I'm using Sakai 2.6.0
With java.io.File, I'm trying to make some new file at temp directory of
tomcat. In order to do that, I use File.createTempFile(prefix,subfix)
function. But it gives me a file with a strange name, not the filename I
want.
Another way, I use createNewFile() function but it makes new file in bin
directory of tomcat.
How I can make new file at temp directory and exact name I want?
Is there any solution which can work around?
Thanks in advanced and best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100527/07193ce9/attachment.html
More information about the sakai-dev
mailing list