📄 goodstype.jsp
字号:
<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%
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>类型浏览</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>
function check(){
var n = document.getElementById("type").value;
if(n==""){
alert("请输入类型名!");
return false;
}else{
return true;
}
}
</script>
</head>
<body topMargin=0 leftmargin="0" marginheight="0">
<form action="insertgoodstype.do" method="post" onsubmit="return check();">
<table border=1 width="97%" cellspacing=1 cellpadding=3 align=center
bordercolor="#326598">
<tr bgcolor="#e8f4ff">
<td height=25 colspan="15" background="admin/images/tile_sub.gif">
货源信息->货源类型
</td>
</tr>
<tr>
<td width="20%">
id
</td>
<td width="40%">
分类编号
</td>
<td width="40%">
分类名称
</td>
</tr>
<c:forEach var="type" items="${requestScope.list}">
<tr>
<td>
${type.id}
</td>
<td>
${type.goodsTypeId}
</td>
<td>
${type.goodsTypeName}
</td>
</tr>
</c:forEach>
<tr>
<td colspan="10" align="right">
添加货物类型:
<input type="text" name="typename" id="type"/>
<input type="submit" value="添加" />
[
<a href="goodstype.do?page=0">首页</a>] [
[<a href="goodstype.do?page=${requestScope.forward }">上一页</a>]
[<a href="goodstype.do?page=${requestScope.back }">下一页</a>]
[<a href="goodstype.do?page=${requestScope.end }">尾页</a>]
[${requestScope.now }]/[${requestScope.count }]页
<input type="button" value="返回"
onclick="javascript:history.back()">
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -