2009/11/4 Christopher Schultz <ch...@christopherschultz.net>: > > For Cocoon, everything is a URL. When Cocoon tries to build URLs to > point to, say, files on the disk in the deployment directory, it gets a > URL like "file:///home/path/to/tomcat/webapps/foo#bar/some/file" which > ends up trying to access "file:///home/path/to/tomcat/webapps/foo" which > is neither a file nor a directory. >
That URL should have been written with %23 instead of '#'. If I remember correctly (don't have an IDE running), you can make that one by calling File.toURI().toURL(). Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org