⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gouwuchakan.jsp~42~

📁 一个使用EJB开发的真实项目
💻 JSP~42~
字号:
<%@ page contentType="text/html; charset=GBK" import="java.util.*;"%>
<jsp:useBean id="gouwuzhuangtai" scope="page" 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -