tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Léa Massiot <lmhe...@orange.fr>
Subject Re: Accessing USB drive content from pages served from tomcat6 server
Date Fri, 06 Apr 2012 10:04:01 GMT
Hello Souvik,

BTW, it's not Konstantin who had a problem but me.

Try this:

1) Create a "usb_1.xml" file in "/etc/tomcat6/Catalina/localhost/" (the OS
being Debian Squeeze) with the following contents:
< Context docBase="/media/WCF/usb_1" / > 
(Think about removing the extra spaces I added above).

2) (Optional) Restart Tomcat.
"usb_1.xml" should normally be deployed.

3) Then try accessing a resource in "/media/WCF/usb_1/" by typing in your
browser a URL starting with:
http://<hostname>[:8080]/usb_1/<a_resource_in_/media/WCF/usb_1>

Best regards.
Léa

--
View this message in context: http://tomcat.10.n6.nabble.com/Accessing-USB-drive-content-from-pages-served-from-tomcat6-server-tp4684002p4692256.html
Sent from the Tomcat - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message