<%
try{
ResultSet rs=selectmen.getsql((String)request.getParameter("id"));
while(rs.next())
{
out.println("
");
out.println("ID: | "+rs.getInt("empid")+" | ");
out.println("姓名: | "+rs.getString("empname")+" | ");
out.println("性别: | "+rs.getString("sex")+" | ");
out.println("
");
out.println("");
out.println("部门: | "+rs.getString("deptname")+" | ");
out.println("电话: | "+rs.getString("phone")+" | ");
out.println("地址: | "+rs.getString("address")+" | ");
out.println("
");
out.println("");
out.println("省: | "+rs.getString("province")+" | ");
out.println("市: | "+rs.getString("city")+" | ");
out.println("电子邮件: | "+rs.getString("email")+" | ");
out.println("
");
out.println("");
out.println("民族: | "+rs.getString("nation")+" | ");
out.println("婚否: | "+rs.getString("wedded")+" | ");
out.println("学历: | "+rs.getString("education")+" | ");
out.println("
");
out.println("");
out.println("毕业学校: | "+rs.getString("university")+" | ");
out.println("个人简历: | "+rs.getString("sstatement")+" | ");
out.println("档案所在地: | "+rs.getString("aaddress")+" | ");
out.println("
");
out.println("");
out.println("档案编号: | "+rs.getString("anumber")+" | ");
out.println("工资等级: | "+rs.getString("sgrade")+" | ");
out.println("在职情况: | "+rs.getString("inaservice")+" | ");
out.println("个人照片: | ");
out.println("
");
}
}catch(Exception e)
{
e.printStackTrace();
}
%>