PresentCompanyPolicies.jsp~13~
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:2k
源码类别:
Java编程
开发平台:
Java
- <%@ page contentType="text/html; charset=GBK" %>
- <HTML>
- <HEAD><TITLE>Company Policies</TITLE></HEAD>
- <BODY>
- <%@ include file="CompanyBanner.html" %>
- <%@ page import="java.sql.*" %>
- <%@ page import="humanresource.*" %>
- <CENTER>
- <FONT SIZE="5" COLOR="navy">
- Company Policies
- </FONT>
- </CENTER>
- <!-- Company policy -->
- <FONT SIZE="4">
- Our number one company policy at Husky World is to
- be nice to your fellow co-workers. And always be nice
- to doggies.
- </FONT>
- <BR>
- <CENTER>
- <FONT SIZE="5" COLOR="navy">
- Health, Vision, And Dental Plans
- </FONT>
- </CENTER>
- <TABLE WIDTH="100%">
- <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.microsoft.jdbc.sqlserver.SQLServerDriver");
- Connection conn = DriverManager.getConnection(
- "jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=HumanResourcesDB;User=sa;Password=sa");
- Statement statement = conn.createStatement();
- String sql = "SELECT * FROM BENEFITINFO";
- ResultSet rs = statement.executeQuery(sql);*/
- // ResultSet rs=beanObj.q
- EmployeeInfoBean beanObj=new EmployeeInfoBean();
- ResultSet rs1=beanObj.queryComPolicy();
- while (rs1.next()){
- %>
- <TR><TD><%= rs1.getString("PLANNAME") %></TD>
- <TD><%= rs1.getString("DEDUCTIBLE") %></TD>
- <TD><%= rs1.getString("DOCTORSINPLANCOVERAGE") %></TD>
- <TD><%= rs1.getString("DOCTORSOUTOFPLANCOVERAGE") %></TD>
- </TR>
- <% } //end while loop
- /* if (statement != null)
- statement.close();
- if (conn != null)
- conn.close();*/
- %>
- </TABLE>
- <BR>
- <%@ include file="SiteNavigator.html" %>
- </BODY>
- </HTML>