>        contextPath = path.substring(0, path.lastIndexOf("/"));
>        contextPath = contextPath.substring(contextPath.lastIndexOf("/") +
1);

This looks like a reasonable hack, but isn't it true that the filesystem
path and the context path don't have to match?  For example, I can map "" to
/webapps/ROOT can't I?  Or map "/myapp" to "/webapps/somethingelse"?

David


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to