⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 adminwarehouseinfo.jsp

📁 采用java三层构架技术开发的U/T 网络物流系统实现了对商品库存信息
💻 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.WareHouseManager" %>
<%@ page import="com.logistic.data.DataConnect"%>
<%request.setCharacterEncoding("gb2312");%>
<%

  DataConnect dc=new DataConnect();
  String      strsql="select * from warehouseinfotable";
  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 warehouseid=request.getParameter("warehouseid");
   int flag=-10;
   if(warehouseid!=null){
      WareHouseManager whm=new WareHouseManager();
      flag=whm.DelWareHouse(warehouseid);
      if(flag>0){
%>
 <script language="javascript">
    alert("该仓库信息删除成功!");
    location.href="<%=request.getContextPath()%>/viewpage/showpage/adminwarehouseinfo.jsp";
 </script>
<% 
   }
 } 
%>
<div align="center">
<OthersTag:WareHouseAdminTag/>
</div>
</body>
</html>

⌨️ 快捷键说明

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