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


<%@ 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{ 
BhDao dao=new BhDao(); 
  	Bh t=dao.getBhInfoById(bh); 
  	if(t!=null){ 
 
%> 
    <tr> 
    <td><%=t.getId()%></td> 
    <td><%=t.getZt() %></td> 
    <td><%=t.getLssid()%></td> 
    <td><%=t.getSpid() %></td> 
    <td><%=t.getLssdz()%></td> 
    <td><%=t.getXqsx() %></td> 
    <td><%=t.getBz() %></td> 
   
  </tr> 
<% 		 		 
  		} } 
 %> 
 </table>  
 
   	 
  </body> 
</html>