https://code.google.com/p/webutilities/issues/detail?id=31

To fix the issue when resource name/path is similar to that of
contextPath.