Tomcat doesn't let you access anything in the META-INF or WEB-INF folders. These folders have config for your system, and may contain passwords (such as META-INF/context.xml which has passwords for the datasources). Besides, people can get into WEB-INF/lib and WEB-INF/classes and web.xml and see your implementation details.
--- On Mon, 1/23/12, Alastair Baldwin <alastairgbald...@yahoo.co.uk> wrote: > From: Alastair Baldwin <alastairgbald...@yahoo.co.uk> > Subject: Unable to access images stored in webapps/<myapp>/WEB-INF/images ? > To: "users@tomcat.apache.org" <users@tomcat.apache.org> > Date: Monday, January 23, 2012, 5:21 PM > Dear Users > > Why am I able to access images stored here: > > http://localhost:8080/imageUploader/1234.jpg > > > but not here: > > http://localhost:8080/imageUploader/WEB-INF/images/1234.jpg > > > File permissions are the same > > Any ideas? > > Thanks > > Alastair > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org