You may want to have a look at the ResourceServerServlet in Java Web Parts:
http://javawebparts.sourceforge.net/javadocs/javawebparts/servlet/ResourceServerServlet.html That may give you what you want. It allows you to serve any resource from a variety of sources (currently file system from any location, a URL or a JAR file). It is also extensible if you would like to serve from another location. The main JWP page, if you should want to download: http://javawebparts.sourceforge.net -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Wed, January 11, 2006 2:15 pm, Zach Moazeni said: > Hello, > > In our current application I need to link to a file that resides > outside of the webapp directory. On another application we allowed the > users upload files and stored them in the webapp directory, which made > deployment a royal pain. This time we are storing the files in a > location external to Tomcat, however I need to let the users click a > link so they can download and open the file. I'd rather not "copy over" > the file to a tmp directory from which they download. > > In Apache there was something like <Location>, is there something > like that in Tomcat? > > Thanks for any input. > -Zach > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]