On Mon, Mar 24, 2008 at 7:31 AM, tbt <[EMAIL PROTECTED]> wrote: > > 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()); >
By default, your files are saved in a temporary directory. You can just copy your uploaded files to whatever directory you want. Check out the source code to the file upload example for inspiration. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]