📄 particular.jsp
字号:
<%@ page language="java" import="com.buat.hr.institution.Institution,com.buat.hr.institution.InstitutionDAO" pageEncoding="gbk"%>
<% int id=0;
String idstr=request.getParameter("id");
try{
id=Integer.parseInt(idstr);
}catch(Exception e){}
InstitutionDAO dao=new InstitutionDAO();
Institution institution=dao.searchInstitution(id);
%>
<html>
<head>
</head>
<body background="../bg.jpg">
<table width="70%" border=2 align="center">
<tr>
<td colspan="2"><font color="red">奖惩详细信息</font></td>
</tr>
<tr>
<th>奖惩名称:</th>
<td><input type="text" name="name" value=<%=institution.getName()%> readonly ></td>
</tr>
<tr>
<th>奖惩原因:</th>
<td><input type="text" name="reason" value=<%=institution.getReason()%> readonly ></td>
</tr>
<tr>
<th>奖惩说明:</th>
<td><textarea wrap="soft" name="explains" rows="5" cols="25" readonly><%=institution.getExplains()%></textarea></td>
</tr>
<tr>
<th colspan="2" align="center">
<a href="Scan.jsp">返回</a>
</th>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -