www.pudn.com > Java_web_shipin_gongsi-.rar > showPsInfoById.jsp, change:2011-05-15,size:2029b


<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%> 
<%@  page import="dao.*,bean.*" %> 
<% 
String path = request.getContextPath(); 
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 
%> 
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html> 
  <head> 
    <base href="<%=basePath%>"> 
     
    <title>My 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"> 
	--><style type="text/css"> 
<!-- 
body,td,th { 
	color: #FFFFFF; 
	font-size: 18px; 
} 
body { 
	background-color: #4E3D2D; 
} 
a{ 
	color:#FFFFFF; 
} 
--> 
</style> 
 
  </head> 
   
  <body style="background-color:#4E3D2D; color: #FFFFFF"> 
  <table width="80%" border="1"> 
    <tr> 
    <td>配送单编号</td> 
    <td>路线选择</td> 
    <td>零售商编号</td>     
    <td>车辆编号</td> 
    <td>配送里程数</td>     
    <td>配送时间</td>       
    <td>备注</td>       
 
  </tr> 
<%  request.setCharacterEncoding("UTF-8"); %> 
  <form method="post" action=""> 
  	请输入配送单编号:<input type="text" name="bh"/><input type="submit" value="查询" />  
  </form> 
<%  String bh=request.getParameter("bh");   
	if(bh==null||"".equals(bh)){ 
		out.print("请输入配送单编号!"); 
	}else{ 
PsDao dao=new PsDao(); 
  	Ps t=dao.getPsInfoById(bh); 
  	if(t!=null){ 
 
%> 
    <tr> 
    <td><%=t.getId()%></td> 
    <td><%=t.getLsxz() %></td> 
    <td><%=t.getLssid()%></td> 
    <td><%=t.getClid() %></td> 
    <td><%=t.getLcs()%></td> 
    <td><%=t.getPssj() %></td> 
    <td><%=t.getBz() %></td> 
   
  </tr> 
<% 		 		 
  		} } 
 %> 
 </table>  
 
   	 
  </body> 
</html>