cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <>
Subject Re: [jira] Created: (COCOON-2154) Servlet:/ protocol: Support absolute URIs
Date Wed, 26 Dec 2007 21:01:39 GMT
Reinhard Poetz pisze:
>> Hi Reinhard, isn't it a duplicate of
>> ?
> Not really. If I read that issue correctly, it talks about making cache
> keys unique. I refer to absolute servlet:/ URIs, e.g.
> servlet:com.mycompany.project.servlet.service+:/test/foo/bar

In the discussion of COCOON-2044 it is mentioned that non-uniqueness of cache keys is caused
by bad
implementation of servlet service because it returns relative URIs instead of absolute ones
getURI() method is called.
So in order to fix COCOON-2044 you just need essentially to implement support of absolute
URI for
servlet: protocol. That's why I see it as duplicate.

> Btw, after reading the URI spec and making some experiments with the URI
> class of Java, I figured out that the originally proposed "!" at the
> beginning of the sub schema is not allowed, however, appending a "+" is.
> This is required in order to distinguish between relative and absolute
> servlet:/ URIs.

Plus sign doesn't look naturally for me. Are there any other options?

Grzegorz Kossakowski

View raw message