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 <[email protected]> wrote: > From: Alastair Baldwin <[email protected]> > Subject: Unable to access images stored in webapps/<myapp>/WEB-INF/images ? > To: "[email protected]" <[email protected]> > 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: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
