tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Kazakevich" <Ilya.Kazakev...@JetBrains.com>
Subject RE: Include NEtwork path into Tomcat - urgent
Date Tue, 15 Nov 2011 13:32:21 GMT
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:adiedler@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

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message