> From: trojansnake12 [mailto:boppn...@swbell.net] > Subject: RE: Debian Tomcat Fail > > File myGifImage = new File("../webapps/geosim/WEB-INF/images/test.jpg");
Very bad form. The servlet container (Tomcat) is under no obligation to provide *any* access to the underlying file system (if there is one), other than to a scratch area. You should be using ServletContext.getResourceAsStream() rather than expecting File objects to work. - 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