📄 storage_list.jsp
字号:
<%@ page language="java" pageEncoding="gb2312"%>
<%@ include file="../include/taglibs.jsp" %>
<%
//基本参数设定
String path=request.getContextPath();
//out.println(path);
String title="";
String directry1="TEST";
String directry2="T01";
String method="U";
String pageName=directry2+method;
String image=path+"/"+directry1+"/IMAGES/";
String css=path+"/"+directry1+"/CSS/";
String js=path+"/"+directry1+"/JS/";
String mDescription="查询";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html >
<head>
<html:base />
<title>storage_list.jsp</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<script language="javascript">
//提交方法
function __doPostBack(action,key,sort){
document.forms[0].action="/StrongIMS/" + action;
document.forms[0].key.value=key; //主键
document.forms[0].sort.value=sort; //其他参数
document.forms[0].submit();
}
//增加判断功能
function __doDeleteBack(action,key,sort){
document.forms[0].action="/StrongIMS/" + action;
document.forms[0].key.value=key; //主键
document.forms[0].sort.value=sort; //其他参数
document.forms[0].submit();
}
</script>
</head>
<body>
<%-- 操作提醒 ,支持多语--%>
<logic:present name="message" scope="request">
<script type="text/javascript" >
alert("<bean:write name="message"/>");
</script>
</logic:present>
<html:form action="query_storage.do" method="post" >
<html:hidden property="key" value=""/>
<html:hidden property="sort" value=""/>
<table border="0">
<tr>
<td>仓库名:</td>
<td><html:text property="name" /></td>
</tr>
<tr>
<td>状态:</td>
<td><html:text property="state" /></td>
</tr>
<tr>
<td colspan="2" align="center"><html:submit /></td>
</tr>
</table>
</html:form>
<hr>
<logic:present name="storageList" scope="request">
<table>
<tr>
<td>ID</td><td>名字</td><td>状态</td><td>备注</td><td>操作</td>
</tr>
<logic:iterate name="storageList" id="storage">
<tr>
<td><bean:write name="storage" property="f_sid" /></td>
<td><bean:write name="storage" property="f_storagename" /></td>
<td><logic:equal name="storage" property="f_isdelete" value="0">
启用
</logic:equal>
<logic:equal name="storage" property="f_isdelete" value="1">
暂停
</logic:equal>
</td>
<td><bean:write name="storage" property="f_memo" /></td>
<td> <a href = "javascript:__doPostBack('initGet_storage.do','<bean:write name="storage" property="f_sid" />','')">修改</a> <a href = "javascript:__doPostBack('delete_storage.do','<bean:write name="storage" property="f_sid" />','')">删除</a></td>
</tr>
</logic:iterate>
</table>
</logic:present>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -