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

📄 userfahuochakan.jsp~6~

📁 一个使用EJB开发的真实项目
💻 JSP~6~
字号:
<%@ page contentType="text/html; charset=GBK" import="ejb.FahuojiluVo"%>
<jsp:useBean id="jilu" scope="page" class="JavaBean.FaHuoBean">
</jsp:useBean>
<%@ page import="java.util.*" %>
<html>
<head>
<title>
xiaoshoujilu
</title>
</head>
<body bgcolor="#ffffff">

<table width="1016" height="34" border="1">
  <tr>
    <td width="65"><div align="center">订单号</div></td>
    <td width="69"><div align="center">用户ID</div></td>
    <td width="94"><div align="center">产品序列号</div></td>
    <td width="63"><div align="center">产品名</div></td>
    <td width="73"><div align="center">产品型号</div></td>
    <td width="83"><div align="center">产品价格/1</div></td>
    <td width="78"><div align="center">数量</div></td>
    <td width="56"><div align="center">支付</div></td>
  </tr>
</table>
<%String userCode=(String)session.getAttribute("userCode");%>
<%Iterator it=jilu.selectForUserCode(userCode).iterator();%>
<%while(it.hasNext()){FahuojiluVo vo=(FahuojiluVo)it.next();String zhuanhuan;%>
<form name="form2" method="post" action="">
<table width="1016" height="22" border="1">
  <tr>
    <td width="106"><input name="dingDanHao" type="text" id="dingDanHao" size="10" readOnly value="<%=vo.getDingDanHao()%>"></td>
      <td width="117"><input name="userCode" type="text" id="userCode" size="10" readOnly value="<%=vo.getUserCode()%>"></td>
        <td width="155"><input name="number" type="text" id="number" size="10"readOnly value="<%=vo.getNumber()%>"></td>
          <td width="102"><input name="name" type="text" id="name" size="10"readOnly value="<%=zhuanhuan=new String(vo.getName().getBytes("8859_1"))%>"></td>
            <td width="126"><input name="model" type="text" id="model" size="10"readOnly value="<%=vo.getModel()%>"></td>
              <td width="133"><input name="price" type="text" id="price" size="10"readOnly value="<%=vo.getPrice()%>"></td>
                <td width="132"><input name="count1" type="text" id="count1" size="10"readOnly value="<%=vo.getCount1()%>"></td>
                  <td width="93"><input name="zhiFu" type="text" id="zhiFu" size="10"readOnly value="<%=vo.getZhiFu()%>"></td>
  </tr>
</table>
</form>
<p>&nbsp;</p>
<%}%>
</body>
</html>

⌨️ 快捷键说明

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