Theres file in utils package.. Producing a url for that could be mounting a resource and using the urlfor...

Pierre Gilquin wrote:
I try to modify the upload example 
(http://www.wicket-library.com/wicket-examples/upload/single)  for my own need.
I would like to be able to upload the file in a directory under my context (ie. 
tomcat_install/webapps/MyApp/DownloadedFiles) and generate the corresponding 
internet url for the files (ie. 
http://localhost:8080/MyApp/DownloadedFiles/file1)

How can I get the local and internet paths from my appli. ?

Thanks in advance


Pierre

--
-Wicket for love
-Jme for fun

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to