webtier@glassfish.java.net

Re: [webtier] Re: What is the recommended way to catch exceptions and display an error page?

From: Shing Wai Chan <Shing-Wai.Chan_at_Sun.COM>
Date: Tue, 02 Feb 2010 17:20:23 -0800

One can specify a default error page in web.xml
as follows:

  <error-page>
    <location>/defaultErrorPage.jsp</location>
  </error-page>


Regards,
     Shing Wai Chan

webtier_at_javadesktop.org wrote:
> Any ideas? I'm just not sure how to tie it all together and work as expected, as it seems very different for JSF2 (and all the examples are for JSF1).
> [Message sent by forum member 'hirowla' (ian.rowlands_at_three.com.au)]
>
> http://forums.java.net/jive/thread.jspa?messageID=384386
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>
>