PresentPersonalHealthCareInfo.jsp
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:1k
源码类别:

Java编程

开发平台:

Java

  1. <%@ page contentType="text/html; charset=GBK" %>
  2. <HTML>
  3. <HEAD><TITLE>Your Health Care Information</TITLE></HEAD>
  4. <BODY>
  5. <%@ page import="java.sql.*" %>
  6. <%@ page import="humanresource.EmployeeInfoBean" %>
  7. <%! int employeeID; %>
  8. <H1 ALIGN="center">Your Health Care Plans</H1>
  9. <TABLE WIDTH="100%" BORDER="1">
  10. <%
  11.    EmployeeInfoBean beanObj1=new EmployeeInfoBean();
  12.    employeeID = Integer.valueOf(request.getParameter("id")).intValue();
  13. //   employeeID = request.getParameter("id");
  14.    ResultSet rs=beanObj1.queryPenPolicy(employeeID);
  15.    rs.next();
  16. %>
  17.      <TR><TD ALIGN="right" WIDTH="50%">Employee Name:</TD><TD WIDTH="50%"><%= rs.getString("NAME") %></TD></TR>
  18.      <TR><TD ALIGN="right" WIDTH="50%">Health Care Plan:</TD><TD WIDTH="50%"><%= rs.getString("HEALTHCAREPLAN") %></TD></TR>
  19.      <TR><TD ALIGN="right" WIDTH="50%">Dental Plan:</TD><TD WIDTH="50%"><%= rs.getString("DENTALPLAN") %></TD></TR>
  20.      <TR><TD ALIGN="right" WIDTH="50%">Vision Plan:</TD><TD WIDTH="50%"><%= rs.getString("VISIONPLAN") %></TD></TR>
  21. </TABLE>
  22. <BR>
  23. </BODY>
  24. </HTML>