PresentPersonalHealthCareInfo.jsp~4~
上传用户: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%">
  10. <%
  11.    EmployeeInfoBean beanObj=new EmployeeInfoBean();
  12.    employeeID = request.getParameter("id"));
  13.    ResultSet rs=beanObj.queryPenPolicy(employeeID);
  14.    rs.next();
  15. %>
  16.      <TR><TD ALIGN="right" WIDTH="50%">Employee Name:</TD><TD WIDTH="50%"><%= rs.getString("NAME") %></TD></TR>
  17.      <TR><TD ALIGN="right" WIDTH="50%">Health Care Plan:</TD><TD WIDTH="50%"><%= rs.getString("HEALTHCAREPLAN") %></TD></TR>
  18.      <TR><TD ALIGN="right" WIDTH="50%">Dental Plan:</TD><TD WIDTH="50%"><%= rs.getString("DENTALPLAN") %></TD></TR>
  19.      <TR><TD ALIGN="right" WIDTH="50%">Vision Plan:</TD><TD WIDTH="50%"><%= rs.getString("VISIONPLAN") %></TD></TR>
  20. </TABLE>
  21. <BR>
  22. </BODY>
  23. </HTML>