cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: Protocol context: question
Date Sun, 09 Dec 2001 21:51:31 GMT
On Fri, 7 Dec 2001, Bernhard Huber wrote:

>   As I was using the context:// protocol.
> The documentation says:
>
>     * context:// - get a resource using the servlet context
>
> Now it would be better to say get a resource using the current servlet
> context.
> As context://foo/bar is resolved relative to the current servlet context.
>
> Question 1: Is there any reason why it is not resolved really to the
> servlet context, hence writing
> context://cocoon/foo/bar to resolve to the current cocoon servlet context?

Maybe I don't get what you mean. But in your suggestion you have to know
where the cocoon servlet is deployed and thus the //cocoon/ part of your
path isn't portable than.

Giacomo


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


Mime
View raw message