?? admingoodstype.jsp
字號:
<%@ page language="java" contentType="text/html; charset=gb2312" pageEncoding="GB2312"%>
<%@ taglib uri="/WEB-INF/others-tag.tld" prefix="OthersTag"%>
<%@ page import="com.logistic.business.GoodsTypeManager"%>
<%@ page import="com.logistic.data.DataConnect"%>
<%request.setCharacterEncoding("gb2312");%>
<%
DataConnect dc=new DataConnect();
String strsql="select * from typetable";
int count=0;
count=dc.selectdata(strsql);
if(count<=0){
session.setAttribute("errors","商品型號信息為空!");
response.sendRedirect("../../errors/errorpage.jsp");
}
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv='Expires' content='-10'>
<meta http-equiv='Pragma' content='No-cache'>
<meta http-equiv='Cache-Control', 'private'>
<title>商品型號信息管理窗口</title>
<style type="text/css">
<!--
body {
background-color: #168AC2;
}
-->
</style>
<link href="<%=request.getContextPath()%>/cssjs/comcss.css" rel="stylesheet" type="text/css">
</head>
<body>
<%
String goodstypeid=(String)request.getParameter("goodstypeid");
int flag=0;
if(goodstypeid!=null){
GoodsTypeManager gtm=new GoodsTypeManager();
flag=gtm.DelGoodsType(goodstypeid);
if(flag>0){
%>
<script language="javascript">
alert("該商品型號信息刪除成功!");
location.href="<%=request.getContextPath()%>/viewpage/showpage/admingoodstype.jsp";
</script>
<%
}
}
%>
<div align="center">
<OthersTag:GoodsTypeAdminTag/>
</div>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -