Hi,

I've an application, which in its web.xml has a 404 page declared:
<error-page>
        <error-code>404</error-code>
        <location>/error/NotFound</location>
</error-page>

The filter-mapping for wicket that's why has the ERROR dispatcher.

I created a NotFound page and mounted it via:
mount("/error", PackageName.forClass(NotFound.class));
and the homepage is mounted via:
mountBookmarkablePage("/homepage", HomePage.class);

So, if the error page has a bookmarkablepagelink, which is pointing to
the Homepage, and I request a wrong URL (e.g. 'asdf'), then the link is
'error/NotFound/homepage' instead of 'homepage'.
But when I get the page with error/NotFound the link works just fine.

I have a Quickstart app which demonstrates the problem, and it looks
like with Jetty and GFv2 it works, but not with GFv3.
Should I create a JIRA issue for this? I'm not sure that the
web.xml-like errorpage is causing the error or the mount is the problem..
I also checked version-compatibilities, and both with 1.4.1 and 1.3.6 I
got the same behaviour.

Thanks,
Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to