what about setting up an "error page" using the standard servlet method that points to a wicket page?

There are a few different ways you can capture errors:

in the web.xml for instance you can use a construct something like (check the syntax):

 <error-page>
        <exception-type>javax.servlet.ServletException</exception-type>
        <location>/mypath</location>
    </error-page>

of to capture an HTTP error:

<error-page>
        <error-code>404</error-code>
        <location>/mypath</location>
</error-page>

So just mount a page at that path and your page should get called when you get an error.



- Brill

On 23-Mar-09, at 12:20 AM, Jan Kriesten wrote:


Hi,

I've set up a Wicket application as ROOT with URL pattern /* and have some
mounts on it.

Now I want all unmounted stuff handled thru the Homepage-class (i.e. get the
path-info for a redirect). Is there a way to do this?

ATM, I get a "404 : /test/ was not found on this server." when calling
http://localhost:8080/test/

Best regards, --- Jan.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to