📄 student.jsp
字号:
<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<html:html>
<% String path = request.getContextPath();
%>
<link rel="stylesheet" href="<%=path%>/css/styles.css" type="text/css" />
<head>
<title>JSP for StudentForm form</title>
</head>
<body>
<html:form action="/manage/student" >
<html:hidden property="task"/>
<html:hidden property="submittype"/>
<table width="90%" cellspacing="1" cellpadding="1" class="tableContent">
<tbody>
<html:hidden property="studentid"/>
<TR >
<TD colspan="4">
<html:img page="/images/title.gif"/>
<b>学生档案管理</b>
</TD>
</TR>
<tr class="trContent">
<td >
学生编号 :
</td>
<td>
<html:text property="studentno"/><html:errors property="studentno"/>
</td>
<td width="10%">
学员姓名 :
</td>
<td width="40%">
<html:text property="name"/><html:errors property="name"/>
</td>
</tr>
<tr class="trContent">
<td >
身份证号码 :
</td>
<td>
<html:text property="idcard"/><html:errors property="idcard"/>
</td>
<td >
固定电话 :
</td>
<td>
<html:text property="telphone"/><html:errors property="telphone"/>
</td>
</tr>
<tr class="trContent">
<td >
学 历 :
</td>
<td>
<html:select property="scholar">
<html:options collection="scholarlist" property="fieldcode" labelProperty="fieldname"/>
</html:select>
<html:errors property="scholar"/>
</td>
<td >
移动电话 :
</td>
<td>
<html:text property="mobile"/><html:errors property="mobile"/>
</td>
</tr>
<tr class="trContent">
<td width="10%">
毕业学校 :
</td>
<td width="40%">
<html:select property="school">
<html:options collection="schoollist" property="fieldcode" labelProperty="fieldname"/>
</html:select>
<html:errors property="school"/>
</td>
<td >
出生日期 :
</td>
<td>
<html:text property="birthday"/>
<a href="javascript:void(0)" onclick="if(self.gfPop)gfPop.fPopCalendar(document.studentForm.birthday);return false;">
<html:img align="absmiddle" page="/include/calendar/calbtn.gif" width="34" height="22" border="0" alt=""/>
</a>
<html:errors property="birthday"/>
</td>
</tr>
<tr class="trContent">
<td >
所学专业 :
</td>
<td>
<html:select property="speciality" styleClass="selectContent">
<html:options collection="specialitylist" property="fieldcode" labelProperty="fieldname"/>
</html:select>
<html:errors property="speciality"/>
</td>
<td >
学员性别 :
</td>
<td>
<html:select property="sex" styleClass="selectContent">
<html:options collection="sexlist" property="fieldcode" labelProperty="fieldname"/>
</html:select>
<html:errors property="sex"/>
</td>
</tr>
<tr class="trContent">
<td >
工作经历 :
</td>
<td>
<html:text property="experience"/><html:errors property="experience"/>
</td>
<td >
家庭地址 :
</td>
<td>
<html:text property="homeplace"/><html:errors property="homeplace"/>
</td>
</tr>
<tr class="trContent">
<td >
是否在校生 :
</td>
<td>
<html:select property="oncampus" styleClass="selectContent">
<html:options collection="oncampuslist" property="fieldcode" labelProperty="fieldname"/>
</html:select>
<html:errors property="oncampus"/>
</td>
<td >
培训目的 :
</td>
<td>
<html:select property="purpose" styleClass="selectContent">
<html:options collection="purposelist" property="fieldcode" labelProperty="fieldname"/>
</html:select>
</td>
</tr>
<tr class="trContent">
<td >
兴趣爱好 :
</td>
<td>
<html:text property="likes" size="50"/><html:errors property="likes"/>
</td>
<td >
在学状态 :
</td>
<td>
<html:select property="state" styleClass="selectContent">
<html:options collection="studystatelist" property="fieldcode" labelProperty="fieldname"/>
</html:select>
</td>
</tr>
<tr class="trContent">
<td >
开学日期 :
</td>
<td>
<html:text property="termbegindate"/>
<a href="javascript:void(0)" onclick="if(self.gfPop)gfPop.fPopCalendar(document.studentForm.termbegindate);return false;">
<html:img align="absmiddle" page="/include/calendar/calbtn.gif" width="34" height="22" border="0" alt=""/>
</a>
<html:errors property="termbegindate"/>
</td>
<td >
结束日期 :
</td>
<td>
<html:text property="termenddate"/>
<a href="javascript:void(0)" onclick="if(self.gfPop)gfPop.fPopCalendar(document.studentForm.termenddate);return false;">
<html:img align="absmiddle" page="/include/calendar/calbtn.gif" width="34" height="22" border="0" alt=""/>
</a>
<html:errors property="termenddate"/>
</td>
</tr>
<tr class="trContent">
<td >
班级号码 :
</td>
<td>
<html:text property="classno"/><html:errors property="classno"/>
</td>
<td >
所学阶段 :
</td>
<td>
<html:text property="endphase"/><html:errors property="endphase"/>
</td>
</tr>
<tr class="trContent">
<td>
缴费状态 :
</td>
<td>
<html:select property="paystate" styleClass="selectContent">
<html:options collection="paystatelist" property="fieldcode" labelProperty="fieldname"/>
</html:select>
</td>
<td> </td>
<td> </td>
</tr>
<tr height="60">
<td colspan="4" align="center">
<logic:equal name="studentForm" property="task" value="add">
<input type="submit" value="保存" onclick="document.getElementById('submittype').value='save';" /> 
<input type="submit" value="增加" onclick="document.getElementById('submittype').value='add';" /> 
</logic:equal>
<logic:equal name="studentForm" property="task" value="modify">
<input type="submit" value="修改"/> 
</logic:equal>
<input type="reset" value="重置"/>
<logic:equal name="studentForm" property="task" value="querydetail">
<input type="button" value="返回" onclick="location.href='student.do?task=query'"/>
</logic:equal>
<logic:notEqual name="studentForm" property="task" value="querydetail">
<input type="button" value="返回" onclick="location.href='student.do?task=list'"/>
</logic:notEqual>
</td>
</tr>
</tbody>
</table>
</html:form>
<iframe width=174 height=189 name="gToday:normal:agenda.js" id="gToday:normal:agenda.js" src="<%=path%>/include/calendar/ipopeng.htm" scrolling="no" frameborder="0" style="visibility:visible; z-index:999; position:absolute; top:-500px; left:-500px;">
</iframe>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -