Hi
I am using the file upload component in wicket and I like to set the folder
path to save uploaded files.
Folder folder = new Folder("Uploads");
folder.mkdirs();
File newFile = new File(folder,fileUpload.getClientFileName());
This code snippet saves the files in a folder called 'uploads' but is
created inside the resin folder. How do I specify a relative path so that a
folder is created inside my project directory
thanks
tbt
--
View this message in context:
http://www.nabble.com/file-uploads-tp16249006p16249006.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]