cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: [VOTE] Add getRealPath() to Context
Date Thu, 09 Aug 2001 21:38:04 GMT
On Wed, 8 Aug 2001, Vadim Gritsenko wrote:

> Hi,
>
> I propose to add getRealPath() method to Context interface as it is already implemented
by subclasses. This method would
> be declared as:
>
> +    String getRealPath(String path) throws MalformedURLException;
>
> This will only extend existing interface. If this method can not be exposed
> via Context interface, please let me know why. Otherwise, I'm awaiting for
> your "+1"s.

+1. I think it doesn't hurt.

Giacomo

>
> This method is required in ProgramGeneratorImpl class to get context
> directory. I can not use getResource() as it returns "jndi:" URL under
> some servlet engines (Tomcats, to be precise).
>
> If there are other methods to get context directory, please tell them.
>
> Regards,
> Vadim
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message