--- Zach Moazeni <[EMAIL PROTECTED]> wrote: > 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 > I don't think there is, but I might be wrong. You could do this using a servlet and mapping certain "fake" directory paths to your servlet and then have these paths configured to point to real directories and then send back directory listings and files depending on what the request is asking for. That really shouldn't be that hard to do.
Wade --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]