Thanks for correcting, Jan.
But since docroot is not part of any context, it won't be
possible to use
this technique to read/write files from docroot.
So, I guess the only solution is to use
ClassLoader.getResourceAsStream() and then
passing the relative path. Is that right?
Thanks,
Kedar
[Message sent by forum member 'km' (km)]
http://forums.java.net/jive/thread.jspa?messageID=244138
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe glassfish.dev.java.net
For additional commands, e-mail: users-help glassfish.dev.java.net
|