File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Best way to reference external files through my webapp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Best way to reference external files through my webapp" Watch "Best way to reference external files through my webapp" New topic
Author

Best way to reference external files through my webapp

Darvesh Niz
Ranch Hand

Joined: May 12, 2008
Posts: 119
Hello
i am looking for possible ways to store image archive. i have huge photo content and i am planning to have symbolic link between my webapp folder to the archive directory
my webroot has a folder archive which is linked to other directory which is a very conventional practice.

hence if someone type www.mywebsite.com/images/archive/test.jpg where archive is symlink to a folder in my home directory ~/archive/test.jpg

is this the best way or do someone has some other cleaner way of doing this.

Please let us know.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Best way to reference external files through my webapp
 
Similar Threads
How to redeploy a webapp that already exists
how to access other folders outside webapp in tomcat6
New Classloader for tomcat.
Tomcat webapp
Refer To dir & files in WAR