webtier@glassfish.java.net

Re: [webtier] Error page+_at_PostConstruct

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Mon, 30 Nov 2009 14:09:19 -0800

On 11/30/09 07:30, webtier_at_javadesktop.org wrote:
> Is it possible to use the standard error page feature of the servlet specification?
>
> In my action methods, it works perfectly. but in a @PostConstruct method, when i throw a RuntimeException, my error page does not show up.
>

Which of your web components (Servlet/Filter/listener) is annotated with
the @PostConstruct that throws a RuntimeException?

Can you post the <error-page> declaration from your web.xml?

Jan

> Any idea?
> [Message sent by forum member 'gabox01' ]
>
> http://forums.java.net/jive/thread.jspa?messageID=373851
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>
>