📄 ccchange.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>毕业设计选题调剂</title>
<style type="text/css">
<!--
body {
background-image: url(image/bg_002.gif);
}
body,td,th {
color: #000000;
font-size: 12px;
}
.style7 {color: #000000}
a:link {
color: #000000;
}
a:visited {
color: #333333;
}
-->
</style>
</head>
<script language="JavaScript" type="text/JavaScript">
function checkBig()
{
if (document.form1.tId.value=="")
{
alert("学号不能为空!");
document.form1.tId.focus();
return false;
}
}
function setDis()
{
document.forms[0].sId.disabled = true;
}
</script>
<body onload="setDis()">
<%
String loginNum=(String)session.getAttribute("lnum");
String name=(String)session.getAttribute("name");
session.setAttribute("lnum",loginNum);
session.setAttribute("name",name);
String cId = null;
String sId = null;
cId = request.getParameter("coId");
sId = request.getParameter("sId");
session.setAttribute("coId",cId);
session.setAttribute("sId",sId);
if(loginNum.equals("3"))
{
%>
<form name="form1" method="post" action="cChanInfo.jsp" onsubmit="return checkBig()">
<table width="350" border="0" align="center" cellpadding="0" cellspacing="2" class="border">
<tr class="title">
<td height="25" colspan="2" align="center" bgcolor="#999999"><strong>调剂毕业设计选题信息</strong></td>
</tr>
<tr class="tdbg">
<td width="126" bgcolor="#C0C0C0"><div align="left"><strong>学号:</strong></div></td>
<td width="204" bgcolor="#E3E3E3"><div align="left">
<input type="text" name="sId" size="20" value="<%=sId %>" maxlength="30">
</div></td>
</tr>
<tr class="tdbg">
<td width="126" bgcolor="#C0C0C0"><div align="left"><strong>更改毕设题号:</strong></div></td>
<td width="204" bgcolor="#E3E3E3"><div align="left">
<input type="text" name="cId" value="<%=cId %>" size="20" maxlength="30">
</div></td>
</tr>
<tr class="tdbg">
<td align="center" bgcolor="#C0C0C0"> </td>
<td align="center" bgcolor="#E3E3E3">
<div align="left">
<input name="Save" type="submit" id="Save" value=" 确 认">
</div></td>
</tr>
</table>
</form>
<%
}
else
{out.println("请先登陆.....");
out.print("<a href=../index.jsp>登陆页面</a>");
}
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -