I'm using tomcat, web.xml has the following configuration:
...
<filter-mapping>
<filter-name>Wicket Filter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
<error-page>
<error-code>404</error-code>
<location>/404</location>
</error-page>
...
/404 is mounted to ErrorNotFoundPage.class
So, when I try to access something like localhost:8084/MyApp/fhdwef134,
I get ErrorNotFoundPage.
However, during rendering of a particular bookmarkable page, I throw
AbortWithWebErrorCodeException(404) if the UUID provided in query
string is not referencing to any object in repository.
Instead of ErrorNotFoundPage, I'm getting a blank page.
What am I doing wrong?
--
sp
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]