gouwuchakan.jsp~44~

来自「一个使用EJB开发的真实项目」· JSP~44~ 代码 · 共 65 行

JSP~44~
65
字号
<%@ page contentType="text/html; charset=GBK" import="java.util.*;"%>
<jsp:useBean id="gouwuzhuangtai1" scope="session" class="JavaBean.GouWuBaoCun">
</jsp:useBean>
<%@page import="ejb.GouWuCheInfoVo" %>
<%Iterator it =gouwuzhuangtai.chakanjilu().iterator();%>

<html>
<head>
<title>
gouwuchakan
</title>


</head>
<body bgcolor="#ffffff">
<table width="705" height="32" border="1">
  <tr>
    <td width="85"><div align="center">用户ID</div></td>
    <td width="89"><div align="center">手机编号</div></td>
    <td width="89"><div align="center">手机品牌号</div></td>
    <td width="69"><div align="center">型号</div></td>
    <td width="63"><div align="center">价格/1台</div></td>
    <td width="60"><div align="center">数量</div></td>
    <td width="92"><div align="center">确认购买</div></td>
    <td width="92"><div align="center">删除</div></td>
  </tr>
</table>
<%String a; %>
<%while(it.hasNext()){GouWuCheInfoVo vo =(GouWuCheInfoVo)it.next();%>
<form name="form1" method="post" action="gouwushanchuORtijiao.jsp">
<table width="709" height="21" border="1">
  <tr>
    <td width="84"><div align="center">
      <input name="userCode" type="text" id="userCode" size="8" readOnly value="<%=vo.getUserCode()%>">
</div></td>
<td width="91"><div align="center">
  <input name="number" type="text" id="number" size="8" readOnly value="<%=vo.getNumber()%>">
</div></td>
<td width="89"><div align="center">
 <input name="name" type="text" id="name" size="8" readOnly value="<%=a=new String(vo.getName().getBytes("8859_1"))%>">
</div></td>
<td width="70"><div align="center">
  <input name="model" type="text" id="model" size="8" readOnly value="<%=vo.getModel()%>">
</div></td>
<td width="63"><div align="center">
  <input name="price" type="text" id="price" size="8" readOnly value="<%=vo.getPrice()%>">
</div></td>
<td width="63"><div align="center">
  <input name="count1" type="text" id="price" size="8" readOnly value="<%=vo.getCount1()%>">
</div></td>
<td width="92"><div align="center">
  <input type="submit" name="button" value="提交确认">
</div></td>
<td width="110"><div align="center">
  <input name="button" type="Submit" value="删除">
</div></td>
  </tr>
</table>
</form>
<p>&nbsp;</p>
<%}%>

</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?