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


<%@ 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"> 
	--> 
 
  </head> 
   
  <body style="background-color: #4E3D2D; color: #FFFFFF"> 
 <%    
   request.setCharacterEncoding("UTF-8");   
   String id=request.getParameter("id");   
   		if(id==null||"".equals(id)){   
   		out.println("没有相关零售商信息!");  
   		}else{   
   			LssDao dao=new LssDao();   
   			Lss t=dao.getLssInfoById(id);   
   			if(t!=null){   
%>  
<form method="post" action="lss/doUpdateLssInfo.jsp?id=<%=t.getId() %>"> 
				<table width="60%"> 
					<tr> 
						<td scope="col" width="30%"> 
							零售商编号	</td> 
						<td scope="col"> 
							<input name="id" type="text" value="<%=t.getId() %>" readonly></td> 
					</tr> 
					<tr> 
						<td scope="col" width="30%"> 
							零售商姓名	</td> 
						<td scope="col"> 
							<input name="lssxm" type="text" value="<%=t.getLssxm() %>"></td> 
					</tr> 
					 
					<tr> 
						<td scope="col"> 
							性别	</td> 
						<td scope="col"> 
							<select name="xb"> 
								<option value="男">男</option> 
								<option value="女">女</option> 
							</select></td> 
					</tr> 
										<tr> 
						<td scope="col"> 
							 身份证号	</td> 
						<td scope="col"> 
							<input name="sfzh" type="text" value="<%=t.getSfzh() %>"></td> 
					</tr> 
 
					<tr> 
						<td scope="col"> 
							联系电话</td> 
						<td scope="col"> 
							<input name="lxdh" type="text" value="<%=t.getLxdh() %>"></td> 
					</tr> 
					<tr> 
						<td scope="col"> 
							邮箱</td> 
						<td scope="col"><input name="yx" type="text" value="<%=t.getYx() %>"></td> 
					</tr> 
					<tr> 
						<td scope="col"> 
							地址</td> 
						<td scope="col"><input name="dz" type="text" value="<%=t.getDz() %>"></td> 
					</tr> 
				</table> 
<input type="submit" value="修改"/>	 
</form>		 
 <% 	} 
 	 
   		} 
   %> 
  </body> 
</html>