Re: Load resource from anywhere on the HDD

2008-02-11 Thread Sébastien Piller
Sorry, it is solved I'm too stupid, or need glasses... The only need to fix this problem is to configure the resource finder, in the init() method of the application class... WebApplicationPath resourceFinder = (WebApplicationPath) getResourceSettings().getResourceFinder(); String s = "/

Load resource from anywhere on the HDD

2008-02-11 Thread Sébastien Piller
Hello, I have a little question: my app lets the user upload some files on the server side. I would like to put them somewhere on the server hdd, out of the context of the application (let say on /dev/etc/uploads), so when I redeploy my war (update of the system), all the uploaded files aren't