Mike Hogarth wrote:

> ServletContext sc = this.getServletContext();
> InputStream is_xml =
sc.getResourceAsStream("WEB-INF/guidelines/Headache.xml");

Looks like something very useful but the Java Servlet 2.2 spec. doesn't say
explicitly if this approach is guaranteed to work.
The spec. says that WEB-INF is not publicly accessible but it doesn't come right
 out and say that you can get it
from a ServletContext

Has anyone tried it with Tomcat?


------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the 
body.

Reply via email to