Wednesday, August 24, 2011

Custom 404 error page in Wicket

In web.xml you must have something like this:


WicketFilter
org.apache.wicket.protocol.http.WicketFilter


applicationClassName
com.yourproject.FrontendWebApplication



WicketFilter
/*
REQUEST
ERROR


404
/error404



After this create a page with mounting point "errror404".

That's it.

No comments:

Post a Comment