Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.3.0-beta1
-
None
Description
if have the following in web.xml:
<error-page>
<error-code>404</error-code>
<location>/404</location>
</error-page>
when I type in some intentionally stupid url like:
http://localhost/myapp/non-existent-page
the error page will properly show up...
however, the header contributions contain wrong paths, e.g.:
<wicket:link>
<link rel="stylesheet" type="text/css" href="BasePage.css"></link>
</wicket:link>
will result in:
<link href="404/resources/mysite.pages.BasePage/BasePage_de.css" rel="stylesheet" type="text/css"></link>
however, this is wrong (path contains a "404/" ) as it should be:
<link href="resources/mysite.pages.BasePage/BasePage_de.css" rel="stylesheet" type="text/css"></link>
so, on error pages, resources are not usable because the error page path is appended at the beginning...