> From: Ward [mailto:wardloot...@gmail.com] > Subject: Deployment: do not delete specified folder > > to be able to acces them via the web-application, > I created a symbolic link into my application's > root directory, which points to the folder where > the files are actually stored.
"Doctor, doctor, it hurts when I do this." Why not just access the target directory directly, and eliminate your self-imposed complexity with all of its undesirable side effects? If you don't want to hard-code the path, set it in an environment variable, system property, or initialization parameter for the webapp. Look here for the last item: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Context%20Parameters - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org