users@glassfish.java.net

Re: Read file from docroot

From: yonestar <yoni_at_higtek.com>
Date: Fri, 2 Nov 2007 09:21:59 -0700 (PDT)

I do not want to make the file a resource, as i will be updating the file
often. thanks, tho. other thoughts?



glassfish wrote:
>
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>

-- 
View this message in context: http://www.nabble.com/Read-file-from-docroot-tf4738212.html#a13550869
Sent from the java.net - glassfish users mailing list archive at Nabble.com.