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

📄 savesubsystem.jsp

📁 一个关于商业的网站
💻 JSP
字号:
<%@ page  import="com.everstar.usermanage.*" %>
<jsp:useBean id="dbConn" scope="request" class="com.everstar.database.Database"/>

<%
	// if the login user is not administrator
	HttpSession AuthInfoPool=request.getSession();
	if (!Auth.checkAdmin(AuthInfoPool))
	{	
		out.println("the logined user is not administrator");
		return;
	}
	String[] systemid = request.getParameterValues("systemid");
	String[] sysname = request.getParameterValues("sysname");
	String[] AllmanagerID = request.getParameterValues("managerid");
	
	SubSystemList AllSubSys= new SubSystemList(dbConn);


	for (int i=0;i<systemid.length;i++)
	{
	int subSystemID = Integer.parseInt(systemid[i]);
	int managerid = Integer.parseInt(AllmanagerID[i]);
	SubSystem theSystem = AllSubSys.getSubSystem(subSystemID);
	theSystem.setSystemName(sysname[i]);
	theSystem.setmanagerID(managerid);
	}
%>		
	
	
<html>
<head>
<title>WebStar</title>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>

<style type="text/css">
<!--
.normal { text-decoration: underline; color:#0033cc; }
.nomalsize { font-size: 10pt;  color: #0033cc; }
h2 { font-size: 14pt;  color: #3C7BFF; }

.nomalsize { font-size: 10pt;  color: #0033cc; }
a { text-decoration: none;  font-size: 10pt; color: #0033cc; }

-->
</style>

<center><h2>modify success!<a href="listSubSystem.jsp">back</a></h2></center>	
</html>	

⌨️ 快捷键说明

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