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

📄 confirmorder.jsp

📁 >项目名称:电脑电子商务平台 >1.运行环境JDK1.6+Oracle10g+Tomcat5.5 >2.开发工具: MyEclipse Enterprise Workbench
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'confirmOrder.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  
  <body>
  <html:errors/>
    <html:form action="/confirmOrder" method="post">
    输入订单编号键字:<html:text property="key"/>
  <html:submit>查询</html:submit>
  </html:form>
  <table>
  <tr><td>订单编号</td><td>订单人</td><td>地址</td><td>价格</td><td>处理日期</td></tr>
   <logic:notEmpty name="list">
   <logic:iterate id="li" name="list">
  <tr>
  <td><bean:write name="li" property="orderno"/></td>
  <td><bean:write name="li" property="realname"/></td>
  <td><bean:write name="li" property="address"/></td>
  <td><bean:write name="li" property="price"/></td>
  <td><bean:write name="li" property="time"/></td>
  </tr>
    </logic:iterate>
    </logic:notEmpty>
  </table>
  </body>
  <logic:equal name="pageFun" property="hasPrevious" value="true">
  <html:link page="/viewdata.do?pageDirection=pre">上一页</html:link>
 </logic:equal>
 <logic:equal name="pageFun" property="hasNext" value="true">
  <html:link page="/viewdata.do?pageDirection=next">下一页</html:link>
  </logic:equal>
   <bean:write name="pageFun" property="currentPage"/>/<bean:write name="pageFun" property="totalPage"/>
</html:html>

⌨️ 快捷键说明

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