particular.jsp
来自「07年做得人力资源管理系统」· JSP 代码 · 共 38 行
JSP
38 行
<%@ 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 + =
减小字号Ctrl + -
显示快捷键?