Hi,
ClassLoader#getResource will work and is a good approach. So is
ServletContext#getResource.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Steiger, Andrew [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 9:52 AM
To: '[EMAIL PROTECTED]'
Subject: Accessing files within the WEB-INF folder
Hello All,
I am wondering what the best method for accessing files that are
located
within the WEB-INF folder? I tried using the
ClassLoader.getResource(),
but
then I realized that won't work.
Thanks in advance,
Andrew.
--
Name: Andrew Steiger
Phone: 267.305.1515
Cubicle: UG2A208T
Mailstop: UG2A-50
Email: [EMAIL PROTECTED]
-
---
---
Notice: This e-mail message, together with any attachments, contains
information of Merck Co., Inc. (One Merck Drive, Whitehouse Station,
New
Jersey, USA 08889), and/or its affiliates (which may be known outside
the
United States as Merck Frosst, Merck Sharp Dohme or MSD and in Japan,
as
Banyu) that may be confidential, proprietary copyrighted and/or legally
privileged. It is intended solely for the use of the individual or
entity
named on this message. If you are not the intended recipient, and have
received this message in error, please notify us immediately by reply
e-
mail and then delete it from your system.
---
---
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary and/or privileged. This
e-mail is intended only for the individual(s) to whom it is addressed, and may not be
saved, copied, printed, disclosed or used by anyone else. If you are not the(an)
intended recipient, please immediately delete this e-mail from your computer system
and notify the sender. Thank you.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]