我想用将用户转发到错误页面来替换内部服务器错误弹出窗口,该怎么做?
答案 0 :(得分:1)
在你的web.xml中放置了这个上下文参数:
<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>