*
The moose likes Tomcat and the fly likes path issue regarding tomcat server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "path issue regarding tomcat server" Watch "path issue regarding tomcat server" New topic
Author

path issue regarding tomcat server

Mani kan
Greenhorn

Joined: Oct 11, 2010
Posts: 20
what kind of path we need to give to access hard disk remotely using tomcat server.


actually am playing the video files remotely from my pc hard disk.is that possible?

if so please sort out my issue..


Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
The path should be the relative path and it must be to the folder served by Tomcat
Mani kan
Greenhorn

Joined: Oct 11, 2010
Posts: 20
could you please give me a procedure to do that.i mean adding folder in tomcat server
Mani kan
Greenhorn

Joined: Oct 11, 2010
Posts: 20
actually am making web application as WAR file..i cannot load 2 GB WAR file in to tomcat server.

i have added 2gb video file in one folder and saved in web application itself. but it dint work . so i prefer that method. to access the folder externally.

please sort out my issue to access the external drive folder through tomcat server.
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
For example http://th1rty7.blogspot.com/2009/05/tomcat-is-often-considered-to-be-too.html
Mani kan
Greenhorn

Joined: Oct 11, 2010
Posts: 20
its my XML file


i have a video files in C drive..web application in D drive..is tis possible





its my jsp code




but cannot play my video files...please sort out my issue ..
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
Mani kan wrote:its my XML file

i have a video files in C drive..web application in D drive..is tis possible



If you work on Windows, why do you specify path as "/web/video"?
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
Mani kan, does it work now?
 
 
subject: path issue regarding tomcat server
 
Similar Threads
problem embedding Media Player object for Firefox
File outside war
IE embedded video
Managed beans aren't constructed running on JBoss 5.1.0 (works fine with Tomcat 6)
Downloading Server Problem?