Not sure Java IO supports windows UNC. Try to do the following: 1) mount this share as disk: (in cmd type "net use z: \\storage\share\pictures") 2) configure tomcat to work with "z:\"
Ilya Kazakevich, Developer JetBrains Inc http://www.jetbrains.com <http://www.jetbrains.com/> "Develop with pleasure!" _____ From: Alexander Diedler [mailto:adied...@tecracer.de] Sent: Tuesday, November 15, 2011 5:27 PM To: users@tomcat.apache.org Subject: Include NEtwork path into Tomcat - urgent Hello, I have a Tomcat 6.0 application, that references their pictures as http://www.test.de/pictures/test.png. /pictures is a network path on a storage, so I try to make it as a Context within the server.xml Host Tag <Context path="/pictures" docBase="\\storage\share\pictures" /> but it throws a 404 error if I test it. Has somebody any idea to get out of this troube? Greetings Alexander