users@glassfish.java.net

Re: Read file from docroot

From: yonestar <yoni_at_higtek.com>
Date: Fri, 2 Nov 2007 11:02:05 -0700 (PDT)

I thought resources were part of the .jar, and thus cannot be changed unless
the .jar is changed (re-deployed). am i wrong?

by the term "resource", i mean those files that are kept under <Project
name>\web\resources

are those the "resources" that getResourceAsStream accesses?

thank you



glassfish wrote:
>
> What prevents you from updating the file that you looked up as a resource?
>
> Finally, it is just a java.io.File, isn't it?
>
> - Kedar
> [Message sent by forum member 'km' (km)]
>
> http://forums.java.net/jive/thread.jspa?messageID=243534
>
> ---------------------------------------------------------------------
> 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#a13552959
Sent from the java.net - glassfish users mailing list archive at Nabble.com.