PresentPersonalHealthCareInfo.jsp~2~
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:1k
源码类别:
Java编程
开发平台:
Java
- <%@ page contentType="text/html; charset=GBK" %>
- <HTML>
- <HEAD><TITLE>Your Health Care Information</TITLE></HEAD>
- <BODY>
- <%@ page import="java.sql.*" %>
- <%@ page import="humanresource.EmployeeInfoBean" %>
- <%! int employeeID; %>
- <H1 ALIGN="center">Your Health Care Plans</H1>
- <TABLE WIDTH="100%">
- <%
- EmployeeInfoBean beanObj=new EmployeeInfoBean();
- employeeID = Integer.valueOf(request.getParameter("id")).intValue();
- ResultSet rs=beanObj.queryPenPolicy(employeeID);
- rs.next();
- %>
- <TR><TD ALIGN="right" WIDTH="50%">Employee Name:</TD><TD WIDTH="50%"><%= rs.getString("NAME") %></TD></TR>
- <TR><TD ALIGN="right" WIDTH="50%">Health Care Plan:</TD><TD WIDTH="50%"><%= rs.getString("HEALTHCAREPLAN") %></TD></TR>
- <TR><TD ALIGN="right" WIDTH="50%">Dental Plan:</TD><TD WIDTH="50%"><%= rs.getString("DENTALPLAN") %></TD></TR>
- <TR><TD ALIGN="right" WIDTH="50%">Vision Plan:</TD><TD WIDTH="50%"><%= rs.getString("VISIONPLAN") %></TD></TR>
- </TABLE>
- <BR>
- </BODY>
- </HTML>