cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15302] - XSPUtil.relativeFilename() returns differents results for different containers
Date Thu, 12 Jun 2003 22:30:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15302>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15302

XSPUtil.relativeFilename() returns differents results for different containers





------- Additional Comments From joerg.heinicke@gmx.de  2003-06-12 22:30 -------
The bug must be deeper in Cocoon or Tomcat:

XSPUtil.relativeFilename("docs/sitemap.xmap", this.objectModel) is what I request.

In this method there is a context.getResource(filename). Using the toString() on
the result of this method call returns for Jetty:

file:/D:/cocoon-2.1/build/webapp/docs/sitemap.xmap

for Tomcat:

jndi:/localhost/cocoondocs/sitemap.xmap


I'm not familiar with the servlet spec, so maybe somebody else can go on?

Mime
View raw message