updatestockregion.jsp

来自「基于j2ee的物流软件」· JSP 代码 · 共 66 行

JSP
66
字号
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="srup"%>
<%
	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 'updatestockregion.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="employee/css/style.css">
		
		<script type="text/javascript">
		   function check(form){
		       var srname=form.srname.value;
		       if(srname==""){
		         alert("数据不能为空!");
		         return false;
		       }
		       return true;
		   }
		  
		
		</script>

	</head>

	<body>
		<table border=1 width="97%" cellspacing=1 cellpadding=3 align=center
			bordercolor="#326598">
			<tr bgcolor="#e8f4ff">
				<td height=25  background="admin/images/tile_sub.gif">
					仓库信息-&gt;商品所在仓库位置管理-&gt;仓库位置修改
				</td>
			</tr>
			<tr>
				<td>
					仓库位置编号:[${requestScope.srf.stockRegionId }]
				</td>
			</tr>
			<tr>
				<td >
					<form action="StockRegionUpdateServlet.do" method="post" onSubmit="return check(this)">
						仓库位置名称
						<input type="text" value="${requestScope.srf.stockRegionName }" name="srname"/>
						<input type="hidden" value="${requestScope.srf.stockRegionId }" name="srid">
						<input type="submit" value="提交" />
						<input type="button" value="返回" onClick="javascript:window.location.href='StockRegionShowServlet.do?page=0'"/>
					</form>
				</td>
			</tr>
		</table>
   </body>
</html>

⌨️ 快捷键说明

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