📄 errormessages.jspf
字号:
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="/sslexplorer/taglibs/explorer" prefix="explorer" %>
<tiles:useAttribute ignore="true" name="resourceBundle" classname="java.lang.String"/>
<logic:messagesPresent>
<div id="component_errors" class="component_messageBox">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<thead>
<tr>
<td>
<bean:message key="messages.errors" bundle="navigation"/>
</td>
</tr>
</thead>
<tbody>
<tr>
<td>
<div class="messages">
<explorer:messages bundle="<%= resourceBundle %>" id="error">
<div class="text">
<% try { %>
<bean:write filter="false" name="error" />
<% } catch(Exception e) {
e.printStackTrace(); %>
Failed to get message. <%= e.getMessage() %>
<% } %>
</div>
</explorer:messages>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</logic:messagesPresent>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -