There is a service, but it isn't exposed to the Mailet API. James uses it,
itself, as you can see from all of the file:// references.
Are you asking for the equivalent of ServletContext.getRealPath(String),
e.g., MailetContext.getRealPath(String)?
I don't have a problem with it. I've been
(that's more in keeping with
being a good James/mailet/Avalon citizen) to skin this cat, then I'm all
ears.
+Mitchell
-Original Message-
From: Noel J. Bergman [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 6:27 PM
To: James Users List
Subject: RE: Reading resources within a mailet
this thread within a day
or so, we should post a formal proposal on [EMAIL PROTECTED]
--- Noel
-Original Message-
From: Mitchell Morris [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 18:45
To: James Users List
Subject: RE: Reading resources within a mailet
I don't know
Noel J. Bergman wrote:
By the way, you should not be placing mailets into james.sar as of the next
release. James v2.2 (test versions already available) and later allow
mailets to be placed in SAR-INF/classes (class files) or SAR-INF/lib (jars).
It wouldn't take more than a few minutes to add
Noel J. Bergman wrote:
By the way, you should not be placing mailets into james.sar as
of the next
release. James v2.2 (test versions already available) and later allow
mailets to be placed in SAR-INF/classes (class files) or
SAR-INF/lib (jars).
Confirmed. When I upgraded to James