How to customize internal server error popup?

408 Views Asked by At

i want to replace the internal server error popup with forwarding the user to an error page, how to do that ?

1

There are 1 best solutions below

0
On BEST ANSWER

in your web.xml put this context params:

<context-param>
  <param-name>com.icesoft.faces.connectionLostRedirectURI</param-name>
  <param-value>connectionLost.iface</param-value>
</context-param>

<context-param>
  <param-name>com.icesoft.faces.sessionExpiredRedirectURI</param-name>
  <param-value>connectionLost.iface</param-value>
</context-param>