Your message was not delivered this time due to a system failure. Please resend it.
Apologies for any inconvenience this may have caused.

----- Original Message -----
From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 30, 2002 3:35 PM
Subject: RE: Sitemap File System Path from within an Action


> From: Michael Wechner [mailto:[EMAIL PROTECTED]]
>
> How do I find the filesystem path of the sitemap from within an
Action?
>
> I mean something like that:
>
> public Map act(Redirector ....){
>     String sitemapFileSystemPath=???.getSitemapPath()

It is really not recommended to use file paths. You won't be able run
your app from the packed war file.

If you still think you can't live without path, use
org.apache.cocoon.environment.Context.getRealPath()

Vadim


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>






---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to