2009/11/4 Christopher Schultz <[email protected]>: > > 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: [email protected] For additional commands, e-mail: [email protected]
