Hi Stefano Actually Patrick logged it as a server bug with the Apache Tomcat team, but they weren't very impressed see
http://issues.apache.org/bugzilla/show_bug.cgi?id=31806 I suspect its not so much a bug, more a feature of two different teams interpreting the servlet specs differently :) My code is messy, because it tries to have fallbacks to overcome these differences, but it clearly isn't working at the moment cheers, Mark -----Original Message----- From: Stefano Mazzocchi [mailto:[EMAIL PROTECTED] Sent: 21 October 2004 14:52 To: [EMAIL PROTECTED] Subject: Re: Question about the best way to locate the path to WEB-INF Butler, Mark H (Labs Bristol) wrote: > Hi team, > > I need your advice on the best way to fix a problem when using Cocoon > on Tomcat caused by DELI that I do not encounter when running Cocoon > on Jetty. Therefore I would like your advice as solving the problem > seems to require an understanding of the differences between servlet > engines that I'm afraid I do not possess. Patrick Melo has reported > this > exception: > > java.net.MalformedURLException: Path > \\server\share\webappname\webappname\WEB-INF/deli/config/deliConfig.xm > l > does not start with a "/" character > java.net.MalformedURLException: Path > \\server\share\webappname\webappname\WEB-INF/deli/config/deliConfig.xm > l > does not start with a "/" character hmmm, it looks like a servlet container bug to me. Is the guy running this over an SMB remote disk? My guess would be that jetty normalizes the "/\" and maybe java doesn't complain there. Bah, I really don't know, your code looks fine to me. -- Stefano, scratching head.
