> From: Ward [mailto:wardloot...@gmail.com] > Subject: Re: Deployment: do not delete specified folder > > Can you please tell/hint me how do I access file on > server, not in webserver directory
Static resources are normally handled by Tomcat's built-in DefaultServlet, which does map URL paths to file system paths. There's nothing stopping you from using your own servlet (likely just extending DefaultServlet) to handle requests for /somedir/somefile and retrieving the file from some alternate location. - 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