I need to create temporray files as part of my Mailet functionality. In order to do this I have a Mailet initialisation parameter that specifies the directory that I want the temporary files to be placed in. At the moment the path I am specifying in the Mailet is a full path. What I would ideally like to be able to do is specify a path relative to the deployed James application a la the repository configurations in config.xml I.e. file://var/etc... Is there any way that I can get the context base directory for the deployed james application that includes my Mailet from the MailetContext in order to construct this path ? Thanks in advance... Neill Robbins, Senior Software Architect The information in this email is confidential and is intended solely for the addressee(s) and access to this email by anyone else is unauthorised. If you are not the intended recipient then any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Information expressed in this email is not given or endorsed by my firm or employer unless otherwise indicated by an authorised representative independent of this message. Phocis Limited, Forsyth Court, 117 The Headrow Leeds LS1 5JW Tel: +44 (0)113 380 1737 Fax: +44 (0)113 380 1601 Mobile: +44 (0)773 005 9160 URL: <http://www.phocis.com/> http://www.phocis.com
