users@glassfish.java.net

Re: Read file from docroot

From: <glassfish_at_javadesktop.org>
Date: Fri, 02 Nov 2007 08:17:53 PST

ServletContext.getResourceAsStream, or getResource is what you need.
http://java.sun.com/javaee/5/docs/api/

-cheng
[Message sent by forum member 'cf126330' (cf126330)]

http://forums.java.net/jive/thread.jspa?messageID=243517