?? classmanager.jsp
字號(hào):
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>類(lèi)別管理</title>
<style>
body,td {
font: normal 12px Verdana ;
color: #333333;
text-align:center;
}
input
,
textarea
,
select
,
td
,
{
font
:normal
12
px
Verdana
;color
:
#333333
;border
:
1px
solid
#999999
;background
:
#ffffff
}
th {
font: normal 14px Verdana;
color: #333333;
border: 1px solid #999999;
background: #C0C0C0
}
table {
border-collapse: collapse;
}
td {
padding: 3px
}
input {
height: 20;
}
textarea {
width: 80%;
height: 50px;
overfmin: auto;
}
form {
display: inline
}
table {
width: 90%;
}
</style>
<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">
</head>
<body background="image/main_bg.gif">
<c:if test="${updclasssuc!=null}">
<c:if test="${updclasssuc}">
<script type="text/javascript">
alert("更新成功!");
</script>
</c:if>
</c:if>
<c:if test="${delclasssuc!=null}">
<c:if test="${delclasssuc}">
<script type="text/javascript">
alert("刪除成功!");
</script>
</c:if>
</c:if>
<c:if test="${haveson!=null}">
<c:if test="${haveson}">
<script type="text/javascript">
alert("請(qǐng)先刪除該類(lèi)別的相關(guān)藥品!");
</script>
</c:if>
</c:if>
<display:table id="row" name="allclasssinf" pagesize="10"
class="simple" requestURI="/class.do?method=findAll" export="false"
decorator="com.xttc.util.Wrap" varTotals="totals">
<display:column property="className" title="類(lèi)別名稱(chēng)"
headerClass="sortable" />
<display:column property="unit" title="基本單位" headerClass="sortable" />
<display:column title="編輯">
<a
href="<%=request.getContextPath()%>/class.do?method=findById&classid=${row.id}">
<img src="pages/image/edit.gif" alt="編輯" width="12" height="12"
border="0" /> </a>
</display:column>
<display:column title="刪除">
<a
href="<%=request.getContextPath() %>/class.do?method=delClass&classid=${row.id}">
<img src="pages/image/icon_del.gif" alt="刪除" width="13" height="13"
border="0" style="CURSOR: hand" /> </a>
</display:column>
</display:table>
<form action="<%=request.getContextPath()%>/class.do?method=findByClassName"
method="post" name="form1" id="form1">
<table>
<td align="center">
請(qǐng)輸入要查詢(xún)藥品的類(lèi)別:<input type="text" name="cName" id="cName">
<input name="Submit" type="submit" value="查詢(xún)" />
</td>
</table>
</form>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -