2009/3/26 Caldarale, Charles R <chuck.caldar...@unisys.com>: >> From: Ward [mailto:wardloot...@gmail.com] >> Subject: Re: Deployment: do not delete specified folder >> >> So supposed there is a file in the /media directory, let's >> say file.jpg There is no way to acces this file trough an >> url without creating a link to the media folder > > You're confusing URLs with file system paths. Whatever servlet is fielding > requests for /media can choose to serve the resource from wherever it wants. > > - Chuck
Sorry, I don't see how to do that Can you please tell/hint me how do I access file on server, not in webserver directory, via URL (http://server/MyApp/somedir/somefile (cause that's basically the thing I wanna do) I managed to do with symbolic link, but if you say there are other, more easy solutions, I'm willing to adopt them... unfortunately I can't figure them out myself... Thanks Ward --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org