The init method is called by the wicket servlet filter. If it throw an
exception the web container will not place the filter into service, than the
request will not be handled by wicket.

On Fri, Oct 23, 2009 at 3:26 PM, Josh Glassman <josh...@gmail.com> wrote:

> There is a wiki page with information on creating custom error pages.
>
> http://cwiki.apache.org/WICKET/error-pages-and-feedback-messages.html
>
> Hopefully that is what you are looking for!
>
> Josh
>
> On Fri, Oct 23, 2009 at 12:34 PM, Tomás Rossi <tro...@mecon.gov.ar> wrote:
> > Hey people,
> >
> > I've noted that if an exception occurs during the execution of init
> method
> > of MyApplication (which extends WebApplication), a SERVICE UNAVAILABLE
> > (error 503) page shows. We'd like to have our own error page for this
> case
> > and figured out a workaround which includes catching and saving the
> > exception in the init method, setting some state and then handling it
> > later...
> > But, what is the Wicket way of doing this?
> >
> > Thanks in advance,
> > --
> > Tom;
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Pedro Henrique Oliveira dos Santos

Reply via email to