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

📄 handtakeinput2.jsp

📁 这是一个学习jsp的基本程序
💻 JSP
📖 第 1 页 / 共 2 页
字号:
                  <tr bgcolor="#e0e0e0">                    <td width="135"> <font  class="strong"> 设备名称:</font> </td>                    <td width="454"> <input type="text" name="devname" class="file" size="30" value="<%=crj.dev_name%>" readonly>                   <input type="hidden" name="checkid" class="file" size="30" value="<%=checkid%>">                   </td>                  </tr>                  <tr bgcolor="#fafafa">                    <td width="135"> <font  class="strong"> 设备英文名称:</font> </td>                    <td width="454"> <input type="text" name="devename" class="file" size="30" >                    </td>                  </tr>                  <tr bgcolor="#e0e0e0">                    <td width="135"> <font  class="strong"> 设备型号:</font></td>                    <td width="454"> <input type="text" name="devmodel" class="file" size="30" value="<%=crj.dev_model%>" readonly>                    </td>                  </tr>                  <tr bgcolor="#fafafa">                    <td width="135"><font  class="strong"> 设备美元价格:</font></td>                    <td width="454"> <input name="price_usd" type="text" class="file" size="30" value="<%=crj.price_usd%>" readonly>万元                    </td>                  </tr>                  <tr bgcolor="#e0e0e0">                    <td width="135"> <font  class="strong"> 设备人民币价格:</font></td>                    <td width="454"> <input name="price_rmb" type="text" class="file" size="30" value="<%=crj.price_rmb%>" readonly>万元                    </td>                  </tr>                  <tr bgcolor="#fafafa">                    <td width="135"><font  class="strong"> 设备数量:</font></td>                    <td width="454"> <input name="amount" type="text" class="file" size="30">可以交接的设备数量是<%=crj.lastamount%>                    </td>                  </tr>                  <tr bgcolor="#e0e0e0">                    <td width="135"><font  class="strong"> 生产厂商:</font></td>                    <td width="454"> <input name="manufacture" type="text" class="file" size="30">                    </td>                  </tr>                  <tr bgcolor="#fafafa">                    <td width="135"><font  class="strong"> 引进日期:</font></td>                    <td width="454">                           <select name="year">                                      <option value="-1">请选择</option>                                     <%                                 for(int i=2000;i<=2050;i++){                                     %>                                     <option value="<%=i%>"><%=i%></option>                                 <%}%>                                     </select> 年                                     <select name="month">                                 <option value="-1">请选择</option>                                     <%                                 for(int i=1;i<=12;i++){                                     %>                                     <option value="<%=i%>"><%=i%></option>                                 <%}%>                                     </select> 月                                     <select name="day">                                 <option value="-1">请选择</option>                                     <%                                 for(int i=1;i<=31;i++){                                     %>                                     <option value="<%=i%>"><%=i%></option>                                 <%}%>                                     </select>日                    </td>                  </tr>                  <tr bgcolor="#e0e0e0">                    <td width="135"><font  class="strong"> 合同编号:</font></td>                    <td width="454"> <input name="contractid" type="text" class="file" size="30" value="<%=crj.contract_id%>" readonly>                    </td>                  </tr>                  <tr bgcolor="#fafafa">                    <td width="135"> <font  class="strong"> 其他费用(关税等):</font></td>                    <td width="454"> <input name="duty" type="text" class="file" size="30">万元                    </td>                  </tr>                  <tr bgcolor="#e0e0e0">                    <td width="135"> <font  class="strong"> 资金来源:</font></td>                    <td width="454"> <input name="s_fund" type="text" class="file" size="30">                    </td>                  </tr>                  <tr bgcolor="#fafafa">                    <td width="135"> <font  class="strong"> 使用单位:</font></td><%  Context psctx=new InitialContext();  Object psref=psctx.lookup("OfficeUnitController");  OfficeUnitControllerHome officeUnitControllerHome=(OfficeUnitControllerHome) PortableRemoteObject.narrow(psref,OfficeUnitControllerHome.class);  OfficeUnitController officeUnitController=officeUnitControllerHome.create();  officeUnitStruct ous=new officeUnitStruct();  Collection c=new ArrayList();  Collection collect=new ArrayList();  c=officeUnitController.getAll();  Iterator oi=c.iterator();  while(oi.hasNext())  {  ous=(officeUnitStruct)oi.next();  if(session_us.unitid.intValue()==ous.upunitid.intValue())   collect.add(ous);  }%>                    <td width="454">    <select name="unit">        <option value="-1">---请选择---</option><%oi=collect.iterator();while(oi.hasNext()){  ous=(officeUnitStruct)oi.next();%><option value="<%=ous.processname%>"><%=ous.processname%></option><%}%>    </select>                    </td>                  </tr>                 <tr bgcolor="#e0e0e0">                    <td width="135"> <font  class="strong"> 备注:</font></td>                    <td width="454">                   <textarea rows=3 cols=50 class="file" name=remark></textarea>                    </td>                  </tr>  <tr bgcolor="#fafafa">                    <td width="135"><font  class="strong"> 交接日期:</font></td>                    <td width="454">                           <select name="year1">                                      <option value="-1">请选择</option>                                     <%                                 for(int i=2000;i<=2050;i++){                                     %>                                     <option value="<%=i%>"><%=i%></option>                                 <%}%>                                     </select> 年                                     <select name="month1">                                 <option value="-1">请选择</option>                                     <%                                 for(int i=1;i<=12;i++){                                     %>                                     <option value="<%=i%>"><%=i%></option>                                 <%}%>                                     </select> 月                                     <select name="day1">                                 <option value="-1">请选择</option>                                     <%                                 for(int i=1;i<=31;i++){                                     %>                                     <option value="<%=i%>"><%=i%></option>                                 <%}%>                                     </select>日                    </td>                  </tr>                  <tr bgcolor="#fafafa" align="center">                    <td colspan="2" height="30">  &nbsp; <input type="submit" name="Button2" value=" 保  存 " class="file">                      &nbsp; <input type="reset" name="Button32" value=" 还  原 " class="file" >                      <input type="button" name="Button21" value=" 返  回 " class="file" onClick="history.back();">                    </td>                  </tr>                </table>              </td>            </tr>          </table>          <p><img src="../../images/msalogo.gif" width="272" height="50">          <table width="100%" border="0" cellspacing="0" cellpadding="0">             <tr>              <td height="3"><img src="a.gif" width="1" height="1"></td>            </tr>            <tr>              <td background="../../MacOS/hr.gif"><img src="../../MacOS/hr.gif" width="1" height="2"></td>            </tr>             <tr>              <td height="3"><img src="a.gif" width="1" height="1"></td>            </tr>          </table>          <table width="100%" border="0" cellspacing="0" cellpadding="0">            <tr>              <td> <div align="right"><a href="../../help.htm" target="blank" style="cursor:help" title="使用帮助"><img src="../../MacOS/help.gif" width="16" height="16" border="0">HELP</a></div></td>            </tr>          </table></TD>    </TR>    <TR>      <TD><IMG height=7 src="../../MacOS/leftbottom.gif" width=6></TD>      <TD background=../../MacOS/bottom.gif colSpan=3><IMG height=7      src="../../MacOS/bottom.gif" width=1></TD>      <TD><IMG height=7 src="../../MacOS/rightbottom.gif"width=7></TD>    </TR>    </TABLE>  <BR>    <TABLE cellSpacing=1 cellPadding=2 width="300" border=0>      <TBODY>        <TR>          <TD align=center><FONT class=footer><IMG height=1      src="MacOS/hr_black.gif" width="100%"><BR>          Orient Super Net MSA-OFFICE System            </FONT></TD>        </TR>      </TBODY>    </TABLE>  </form></DIV></BODY></HTML><%}%>

⌨️ 快捷键说明

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