users@glassfish.java.net

configuring temp directory

From: <glassfish_at_javadesktop.org>
Date: Thu, 27 Mar 2008 13:08:13 PST

When I create a temporary file in my EJB, it is created under c:\Program Files\glassfish\domains\domain1\conf.

1. How do I change the temp file path so later I can delete from the code.
2. I need to provide URL access to this downloaded files as a response from servlet. How do I convert file path to URL?

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

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