users@glassfish.java.net

File path in a web application

From: <glassfish_at_javadesktop.org>
Date: Wed, 16 Jan 2008 02:11:26 PST

Hi

I want to know how to obtain the real path of an application deployed file when that application is a webservice. If it were a Servlet or a faces application, there is a ServletContext. In this case I don't know where to get that object from. It can be also useful an environment variable with the application deployment path.

Thanks
[Message sent by forum member 'aperezymadrid' (aperezymadrid)]

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