On 15/12/2009 16:05, Peter Crowther wrote:
2009/12/15 André Warnier<a...@ice-sa.com>

But maybe you could just create a link, inside your deployment directory,
to the mount ?

/opt/Tomcat/webapps/myApp/docs -->  /opt/document-repository

If you're going to do this, be Very Very Careful.  Tomcat doesn't follow
symbolic links by default, even on UNIX.  This is for a very good reason: if
you do this, Tomcat *will* follow the symlink and delete your PDFs when you
undeploy your webapp.

You probably don't want this to happen.

This is a common enough use case (it comes up about once a month on the
list) that Someone may have coded a quick "serve the content from this
directory" servlet, probably based on the root webapp.  Chris?  You're
generally the coder with quick hacks already developed...

The OP already has a servlet AFAICT.  It's just not working.


p

- Peter



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to