Re: Geting a file in WEB-INF from a web service

2004-02-14 Thread Barry BURNEREAU
h(); baos.close(); String strStuff = baos.toString(); Jeff - Original Message - From: "Barry BURNEREAU" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 14, 2004 8:40 AM Subject: Geting a file in WEB-INF from a web service > Hello > > I

Re: Geting a file in WEB-INF from a web service

2004-02-14 Thread Jeff
Message - From: "Barry BURNEREAU" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 14, 2004 8:40 AM Subject: Geting a file in WEB-INF from a web service > Hello > > I'm adding some web service to an existing webapp written with servlet. >

Geting a file in WEB-INF from a web service

2004-02-14 Thread Barry BURNEREAU
Hello I'm adding some web service to an existing webapp written with servlet. There is a configuration file in the web-inf directory. I'd like to read this configuration file in the web service. In the servlet, I use servletcontext.getResourceAsStream(path). How could i do similar thing in the