0

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

Mahmoud Saleh
  • 33,303
  • 119
  • 337
  • 498

1 Answers1

0

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>
ELZIPA
  • 26
  • 2