📄 insert_takecourse.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'insert_advisor.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="<%=basePath%>styles/insert.css">
</head>
<body>
<div id="container">
<form action="<%=request.getContextPath() %>/insertTakeCourse.do" method="post">
<table>
<tr>
<td><label for="studentNum">学生号</label></td>
<td><input type="text" name="studentNum" value=""/></td>
</tr>
<tr>
<td><label for="courseNum">课程号</label></td>
<td><input type="text" name="courseNum" value=""/></td>
</tr>
<tr>
<td><label for="semester">学期</label></td>
<td>
<select name="semester">
<option>上</option>
<option>下</option>
<option>暑假</option>
</select>
</td>
</tr>
<tr>
<td><label for="schoolYear">学年</label></td>
<td><input type="text" name="schoolYear" value=""/></td>
</tr>
<tr id="button">
<td><input id="save" type="submit" name="save" value="保存"/></td>
<td><input id="reset" type="reset" name="reset" value="重置"/></td>
</tr>
</table>
</form>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -