This is what is written in the docs:
web/WEB-INF/ - The special configuration files required for your
application, including the web application deployment descriptor (web.xml),
tag library descriptors for custom tag libraries you have created, and other
resource files you wish to include within
Max Z. wrote:
I am storing a file in the WEB-INF directory and I need to access it with a
servlet, how would I get to it?
Use:
InputStream is =
getServletContext().getResourceAsStream(/WEB-INF/your.file);
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands:
I am using Tomcat 4.0.2. I have a file in the WEB-INF directory and I need
to access it with a servlet, how can I do that?
This is what is written in the docs:
web/WEB-INF/ - The special configuration files required for your
application, including the web application deployment descriptor