Grzegorz Kossakowski wrote:
Reinhard Poetz (JIRA) pisze:
Servlet:/ protocol: Support absolute URIs
-----------------------------------------

Key: COCOON-2154 URL: https://issues.apache.org/jira/browse/COCOON-2154
Project: Cocoon Issue Type: New Feature Components: - Servlet service
framework Reporter: Reinhard Poetz


Using the servlet-protocol you can only define relative URIs which means
that those URIs are only valid if they are resolved in the context of a
particular servlet-service because they refer to the defines connections.

If you need globally resolveable URIs, there needs to be a way to define
globally unique servlet:/ URIs.

Hi Reinhard, isn't it a duplicate of
https://issues.apache.org/jira/browse/COCOON-2044 ?

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

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.

--
Reinhard Pötz                            Managing Director, {Indoqa} GmbH
                          http://www.indoqa.com/en/people/reinhard.poetz/

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member, PMC Chair        [EMAIL PROTECTED]
_________________________________________________________________________

Reply via email to