You can save your images to whatever folder you like on your hard disk, if
that folder is outside of your webapp root context they won't be deleted on
re-deploy. I believe the problem you're facing is serving the static
content. i'd suggest to either let apache serve the images (if you're using
apache in front of your servlet container), or to use a servlet that loads
your resources.

or did i misunderstand your problem?

michael



Mathias P.W Nilsson wrote:
> 
> Hi!
> 
> I'm using the getServletContext().getRealPath( "/" ) for saving uploaded
> images, xml and so on for my wicket application.
> 
> My problem is that when I deploy my application all this files will be
> deleted. How can I save my files in an external folder within wicket and
> load, show images in wicket?
> 


-----
Michael Sparer
http://talk-on-tech.blogspot.com
-- 
View this message in context: 
http://www.nabble.com/Wicket-saving-files-tp16795241p16795622.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]

Reply via email to