?? countlistupdate.jsp
字號:
<jsp:useBean id="countList" class="src.wuyang.CountList" scope="page"/>
<jsp:useBean id="global" class="src.com.MyGlobal" scope="session"/>
<% if (global.isLogined == false) {
%>
<jsp:forward page="../pub/DBErr.jsp" >
<jsp:param name="rtcode" value="-4" />
</jsp:forward>
<% }
%>
<html>
<head>
<title>修改嘜單</title>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../pub/style.css">
</head>
<body>
<%
String markId = request.getParameter("markId");
String markNo = request.getParameter("markNo");
//String quantity = request.getParameter("quantity");
//System.out.println("quantity ="+quantity);
System.out.println("markNo = "+markNo);
int rtcode = countList.load(markId,markNo);
System.out.println("* load rtcode= "+rtcode );
countList.setGlobal(global);
%>
<jsp:setProperty name="countList" property="*" />
<% countList.update();
if(rtcode <= 0) {
%>
<jsp:forward page="../pub/DBErr.jsp" >
<jsp:param name="rtcode" value="<%= rtcode %>" />
</jsp:forward>
<% } %>
<form method="POST" action="CountListUpdate.jsp">
<input type="hidden" name="mode" value="update"/>
<input type="hidden" name="markNo" value="<%=markNo%>">
嘜單編號:<%=countList.getMarkId()%><input type="hidden" name="markId" value="<%=countList.getMarkId()%>" >
<br>
嘜頭:<%=countList.getMark()%><input type="hidden" name="mark" value="<%=countList.getMark()%>">
<br>
數量:<input type="text" name="quantity" value="<%=countList.getQuantity()%>">
<p>
<input type="submit" name="update" value="修改" >
<input type="reset" name="delete" value="刪除" >
</form>
<form method="post" >
<input type="submit" name="back" value="返回">
</form>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -