每当 Java 代码出现错误时,我都会将我的页面重定向到错误页面。请在下面找到我的代码。但我的 IE 中没有任何内容。
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<head>
</head>
<body>
<div style="width:700px; text-align:center;">
<span style="font-size: 12pt; font-face: bold; color: red">
Refund initiate failed! Please contact the help desk for assistance.
</span>
<rich:popupPanel id="messagePanel" modal="true" autosized="true" resizeable="false"
>
<h:panelGrid columns="1">
Refund initiate failed! Please contact the help desk for assistance.
</h:panelGrid>
<center>
<h:panelGrid columns="1">
<h:commandButton immediate="true" value="close"
onclick="#{rich:component('messagePanel')}.hide(); return false;"/>
</h:panelGrid>
</center>
</rich:popupPanel>
</div>
</body>
</html>