PresentCompanyHealthCareInfo.jsp
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:1k
源码类别:
Java编程
开发平台:
Java
- <%@ page contentType="text/html; charset=GBK" %>
- <HTML>
- <HEAD><TITLE>Health Plan Information</TITLE></HEAD>
- <BODY>
- <%@ include file="CompanyBanner.html" %>
- <%@ page import="java.sql.*" %>
- <%@ page import="humanresource.EmployeeInfoBean" %>
- <CENTER>
- <FONT SIZE="5" COLOR="navy">
- Health, Vision, And Dental Plans
- </FONT>
- </CENTER>
- <TABLE WIDTH="100%" BORDER="1">
- <TH WIDTH="40%">Plan Name</TH>
- <TH WIDTH="20%">Deductible</TH>
- <TH WIDTH="20%">Coverage for Doctors in Plan</TH>
- <TH WIDTH="20%">Coverage for Doctors out of Plan</TH>
- <%
- /* Class.forName("COM.cloudscape.core.JDBCDriver").newInstance();
- Connection conn =
- DriverManager.getConnection("jdbc:cloudscape:c:\HumanResourcesDB");
- Statement statement = conn.createStatement();
- String sql = "SELECT * FROM BENEFITINFO";*/
- EmployeeInfoBean beanObj1=new EmployeeInfoBean();
- ResultSet rs = beanObj1.queryComPolicy();
- while (rs.next()) {
- %>
- <TR><TD><%= rs.getString("PLANNAME") %></TD>
- <TD ALIGN="center"><%= rs.getString("DEDUCTIBLE") %></TD>
- <TD ALIGN="center"><%= rs.getString("PlanCoverage1") %></TD>
- <TD ALIGN="center"><%= rs.getString("PlanCoverage2") %></TD>
- </TR>
- <% } //end while loop
- /*if (statement != null)
- statement.close();
- if (conn != null)
- conn.close();*/
- %>
- </TABLE>
- <BR>
- <%@ include file="SiteNavigator.html" %>
- </BODY>
- </HTML>