📄 add_supplyer_cfrm.jsp
字号:
<%@ page contentType="text/html;charset=gb2312"%>
<HTML>
<!-- Mirrored from web.hichina.com/sitemanager/templet/096/left1/ by HTTrack Website Copier/3.x [XR&CO'2003], Thu, 28 Aug 2003 00:02:03 GMT -->
<HEAD>
<TITLE>
<!--Your Company Name-->
Template
</TITLE>
<!--CharSet-->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<link rel="stylesheet" href="purchase_department_images/CSS.CSS" type="text/css">
<style type="text/css">
<!--
-->
</style>
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--
function window_onload() {
<!--Page.OnLoad-->
}
//-->
</SCRIPT>
<%
if ( session.getAttribute("UserName")==null || session.getAttribute("UserName")=="" || session.getAttribute("UserType")==null || session.getAttribute("UserType")=="" )
{
session.removeAttribute("UserName");
session.removeAttribute("UserType");
response.sendRedirect("../login/index.jsp");
//out.println("dengluchengong认为其二维尔维尔却无二");
}
%>
</HEAD>
<BODY BGCOLOR=#669999 leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!--Counter-->
<!--Something Here-->
<table width="778" border="0" cellspacing="0" cellpadding="0" align="center" height="130">
<tr>
<td background="purchase_department_images/index_top1.gif" valign="top">
<table border="0" cellspacing="0" cellpadding="0" width="778" align="center">
<tr>
<td height="25"> <font color="#FFFFFF"><b></b></font>
<div align="center"><font color="#FFFFFF"><b></b></font></div>
</td>
</tr>
<tr>
<td height="30"> <font color="#FFFFFF"><b></b></font>
<div align="center"><font color="#000000"><b><font size="5">
<!--Your Company Name-->
超市管理系统——商品采购部
</font></b></font></div>
</td>
</tr>
<tr>
<td height="30">
<div align="center"><font size="4" color="#000000">
<!--Your Company Name.English-->
Enterprise Purchase Department
</font> </div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="778" border="0" cellspacing="0" cellpadding="0" align="center" background="purchase_department_images/index_bg.gif">
<tr>
<td valign="top" width="215" rowspan="2">
<table width="215" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="215" border="0" cellspacing="0" cellpadding="0" height="20" background="purchase_department_images/01.gif">
<tr>
<td> <img src="purchase_department_images/index_pic.gif" width="215" height="155"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="215" border="0" cellspacing="0" cellpadding="0" height="15">
<tr>
<td>
<div align="center">
<!--Language-->
<!--Something Here-->
</div>
</td>
</tr>
</table>
<table width="215" border="0" cellspacing="0" cellpadding="0" height="40" background="purchase_department_images/index_lm.gif">
<tr>
<td> <div align="center"><b><a href="../menu_index/purchase_department_index.jsp">商品采购部</a></b> </div></td>
</tr>
</table>
<!--Button2.Content.Begin-->
<table width="215" border="0" cellspacing="0" cellpadding="0" height="40" background="purchase_department_images/index_lm.gif">
<tr>
<td>
<div align="center"><b>
<!--Button2.Link-->
<a href="supplyer_all_infor_page.jsp">
<!--Button2-->
供应商厂家所有信息</a></b></div>
</td>
</tr>
</table>
<!--Button2.Content.End-->
<!--Button2.Content.Begin-->
<table width="215" border="0" cellspacing="0" cellpadding="0" height="40" background="purchase_department_images/index_lm.gif">
<tr>
<td>
<div align="center"><b>
<!--Button2.Link-->
<a href="supplyer_one_query.jsp">
<!--Button2-->
供应商厂家信息查询</a></b></div>
</td>
</tr>
</table>
<!--Button2.Content.End-->
<!--Button4.Content.Begin-->
<table width="215" border="0" cellspacing="0" cellpadding="0" height="40" background="purchase_department_images/index_lm.gif">
<tr>
<td>
<div align="center"><b>
<!--Button4.Link-->
<a href="add_supplyer.jsp">
<!--Button4-->
供应商厂家信息添加</a></b></div>
</td>
</tr>
</table>
<!--Button4.Content.End-->
<!--Button5.Content.Begin-->
<table width="215" border="0" cellspacing="0" cellpadding="0" height="40" background="purchase_department_images/index_lm.gif">
<tr>
<td>
<div align="center"><b>
<!--Button5.Link-->
<a href="supplyeroneinfor_update.jsp">
<!--Button5--> 供应商厂家信息修改</a></b></div>
</td>
</tr>
</table>
<!--Button5.Content.End-->
<!--Button6.Content.Begin-->
<table width="215" border="0" cellspacing="0" cellpadding="0" height="40" background="purchase_department_images/index_lm.gif">
<tr>
<td>
<div align="center"><b>
<!--Button6.Link-->
<a href="supplyeroneinfor_delete.jsp">
<!--Button6-->
供应商厂家信息删除</a></b></div>
</td>
</tr>
</table>
<!--Button6.Content.End-->
<!--Button7.Content.Begin-->
<table width="215" border="0" cellspacing="0" cellpadding="0" height="40" background="purchase_department_images/index_lm.gif">
<tr>
<td>
<div align="center"><b>
<!--Button7.Link-->
<a href="../login/login_exit.jsp">
<!--Button7-->退出系统</a></b></div>
</td>
</tr>
</table>
<!--Button7.Content.End-->
</td>
</tr>
</table>
</td>
<td valign="top" width="563"><img src="purchase_department_images/index_top2.gif" width="563" height="70"></td>
</tr>
<tr>
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td></td>
</tr>
<tr>
<td>
<!--IndexPage.Content.Begin-->
<%
String SupId =request.getParameter("SupId");
String SupName =request.getParameter("SupName");
String Address =request.getParameter("Address");
String Postcode =request.getParameter("Postcode");
String ProductName =request.getParameter("ProductName");
////////////////////////////////////////////////////////////////////
//out.println("SupId="+SupId);
//out.println("SupName="+SupName);
//out.println("Address="+Address);
//out.println("Postcode="+Postcode);
//out.println("ProductName="+ProductName);
%>
<jsp:useBean id="supplyer" scope="session" class="supplyer.SupplyerBean" />
<%
int result = supplyer.InsertSupplyer(SupId,SupName,Address,Postcode,ProductName);
if( result==1 )
{
out.println( "添加成功!" );
}
if( result==2 )
{
out.println( "添加失败!因为存在重复数据!" );
}
if(result==0)
{
out.println( "添加失败!由于其他原因!" );
}
%>
<!--IndexPage.Content.End-->
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center" height="1">
<tr>
<td bgcolor="#000000"> </td>
</tr>
</table>
<table width="90%" border="0" cellspacing="0" cellpadding="4" align="center">
<tr>
<td>
<p align="center">
<!--Your Company Name-->
任晓明毕业设计——
<!--TCopyRight-->
版权所有
@2002<br>
<!--TAddress-->
公司地址:ysu
<!--Address-->
<br>
<!--TTelephone-->
电话:
<!--Telephone-->
<!--TEMail-->
电子邮件:ren@126.com
<!--EMail-->
<A HREF='mailto:
<!--Email-->
'>
<!--Email-->
</A>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="778" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="purchase_department_images/index_bottom.gif" width="778" height="50"></td>
</tr>
</table>
</BODY>
<!-- Mirrored from web.hichina.com/sitemanager/templet/096/left1/ by HTTrack Website Copier/3.x [XR&CO'2003], Thu, 28 Aug 2003 00:02:03 GMT -->
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -