Resending. I have been having email problems recently. Apologies if this is received twice.
The attached patches address a couple of issue highlighted by bug 23267 - zero length contexts caused a NPE on contextFile.getParentFile() - another exception on contextPath.substring(1) for zero length contexts
I also removed the filename.equals("ROOT") test as I couldn't see anywhere in the docs where this is specified as mandatory.
Patches for TC5 and TC4 both attached (untested on TC5)
I don't like the patch so far. I will look into the issue.
Remy
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]