Description
When you mount /path1 it is impossible to server files from your web context in /path1/dir because the mount eats it.
With the attached PassThroughUrlCodingStrategy and patch to WicketFilter you can "unmount" /path1/dir so that the servlet container can handle it for you even though /path1 is mounted. See also the thread "unmount sub url" on the user list.
I don't know what the implementations should be of encode/decode/matches (I don't think they're necessary in this case actually, but I could be wrong).
To use add the following in the application init:
mount(new QueryStringUrlCodingStrategy("/path1", MyPage.class));
mount(new PassThroughUrlCodingStrategy("/path1/dir"));
Regards,
Sebastiaan