tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Z." <wizard...@usa.net>
Subject reading content in WEB-INF
Date Tue, 19 Feb 2002 20:57:41 GMT
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 your web application. Even though
this directory appears to be a subdirectory of your document root, the
Servlet Specification prohibits serving the contents of this directory (or
any file it contains) directly to a client request. Therefore, this is a
good place to store configuration information that is sensitive (such as
database connection usernames and passwords), but is required for your
application to operate successfully.


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?


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message