Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

path issue regarding tomcat server

 
Mani kan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The path should be the relative path and it must be to the folder served by Tomcat
 
Mani kan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
could you please give me a procedure to do that.i mean adding folder in tomcat server
 
Mani kan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 470
 
Mani kan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mani kan, does it work now?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic