📄 result.jsp
字号:
<%@ taglib uri="struts-html" prefix="html" %>
<%@ taglib uri="struts-logic" prefix="logic" %>
<%@ taglib uri="struts-bean" prefix="bean" %>
<%@ page contentType="text/html; charset=UTF-8" %>
<html:errors/>
<html><head>
<title>
</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<%--
<meta http-equiv="refresh" content="0;url=<html:rewrite page="/message/upload/uploadAction.shtml" paramId="parentId" paramName="upLoadFileForm" paramProperty="parentId" />">
--%>
<script type='text/javascript'>
var errorM = null;
<logic:messagesPresent>
<html:messages id="error">
errorM = "<bean:write name="error" />";
</html:messages>
</logic:messagesPresent>
<logic:present name="errors">
<logic:iterate id="error" name="errors">
errorM = "<bean:write name="error" />";
</logic:iterate>
</logic:present>
function killUpdate()
{
if (errorM != null){
window.parent.myalert(errorM);
}else{
window.parent.location.href="<html:rewrite page="/message/upload/uploadAction.shtml" paramId="parentId" paramName="upLoadFileForm" paramProperty="parentId" />"; }
}
</script>
</head>
<body onload='killUpdate();'>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -