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

Java编程

开发平台:

Java

  1. package org.apache.jsp;
  2. import javax.servlet.*;
  3. import javax.servlet.http.*;
  4. import javax.servlet.jsp.*;
  5. import org.apache.jasper.runtime.*;
  6. public class PersonalInfo_jsp extends HttpJspBase {
  7.   private static java.util.Vector _jspx_includes;
  8.   static {
  9.     _jspx_includes = new java.util.Vector(2);
  10.     _jspx_includes.add("/CompanyBanner.html");
  11.     _jspx_includes.add("/SiteNavigator.html");
  12.   }
  13.   public java.util.List getIncludes() {
  14.     return _jspx_includes;
  15.   }
  16.   public void _jspService(HttpServletRequest request, HttpServletResponse response)
  17.         throws java.io.IOException, ServletException {
  18.     JspFactory _jspxFactory = null;
  19.     javax.servlet.jsp.PageContext pageContext = null;
  20.     HttpSession session = null;
  21.     ServletContext application = null;
  22.     ServletConfig config = null;
  23.     JspWriter out = null;
  24.     Object page = this;
  25.     JspWriter _jspx_out = null;
  26.     try {
  27.       _jspxFactory = JspFactory.getDefaultFactory();
  28.       response.setContentType("text/html; charset=GBK");
  29.       pageContext = _jspxFactory.getPageContext(this, request, response,
  30.        null, true, 8192, true);
  31.       application = pageContext.getServletContext();
  32.       config = pageContext.getServletConfig();
  33.       session = pageContext.getSession();
  34.       out = pageContext.getOut();
  35.       _jspx_out = out;
  36.       out.write("rn");
  37.       out.write("<HTML>rn");
  38.       out.write("<HEAD>");
  39.       out.write("<TITLE>");
  40.       out.write("</TITLE>");
  41.       out.write("</HEAD>rn");
  42.       out.write("<BODY>rnrn");
  43.       out.write("<TABLE WIDTH="100%" BORDER="0" BGCOLOR="navy">n  ");
  44.       out.write("<TR ALIGN="center">n    ");
  45.       out.write("<TD>");
  46.       out.write("<FONT SIZE="7" COLOR="yellow">Husky World");
  47.       out.write("</FONT>");
  48.       out.write("</TD>n  ");
  49.       out.write("</TR>n");
  50.       out.write("</TABLE>");
  51.       out.write("rnrn");
  52.    java.util.Enumeration input = request.getParameterNames();
  53.    while(input.hasMoreElements()) {
  54.      String name = (String) input.nextElement();
  55.      String value = request.getParameter(name);
  56.      if (value.equals("getTimeOff")) {
  57.       out.write("rn       ");
  58.       JspRuntimeLibrary.include(request, response, "PresentTimeOffData.jsp", out, false);
  59.       out.write("rnrn");
  60.    } else if (value.equals("getHealthCare")) {  
  61.       out.write("rnrn       ");
  62.       JspRuntimeLibrary.include(request, response, "PresentPersonalHealthCareInfo.jsp", out, false);
  63.       out.write("rnrn");
  64.      } //end else
  65.    } // end while loop
  66.       out.write("rnrn");
  67.       out.write("<BODY ALINK="yellow" VLINK="yellow" LINK="yellow">n");
  68.       out.write("<TABLE WIDTH="100%" BORDER="0" BGCOLOR="navy">n  ");
  69.       out.write("<TR ALIGN="center">n    ");
  70.       out.write("<TD COLSPAN=2>");
  71.       out.write("<FONT SIZE="4" COLOR="yellow">Site Navigator");
  72.       out.write("</FONT>");
  73.       out.write("</TD>n  ");
  74.       out.write("</TR>n  ");
  75.       out.write("<TR ALIGN="center">n    ");
  76.       out.write("<TD>");
  77.       out.write("<A HREF="PresentCompanyPolicies.jsp">n         Look at Company Policies");
  78.       out.write("</A>n    ");
  79.       out.write("</TD>n    ");
  80.       out.write("<TD>");
  81.       out.write("<A HREF="PersonalInfo.html">n         Look At Personal Information");
  82.       out.write("</A>n    ");
  83.       out.write("</TD>n  ");
  84.       out.write("</TR>n  ");
  85.       out.write("<TR ALIGN="center">n    ");
  86.       out.write("<TD>");
  87.       out.write("<A HREF="InputEmployeeInfo.html">n        Change Employee Information");
  88.       out.write("</A>");
  89.       out.write("</FONT>n    ");
  90.       out.write("</TD>n    ");
  91.       out.write("<TD>");
  92.       out.write("<A HREF="PresentCompanyHealthCareInfo.jsp">n        Look At Health Care Options");
  93.       out.write("</A>n    ");
  94.       out.write("</TD>n  ");
  95.       out.write("</TR>n  ");
  96.       out.write("<TR ALIGN="center">n    ");
  97.       out.write("<TD COLSPAN="2">");
  98.       out.write("<A HREF="HumanResources.html">n                    Home Page");
  99.       out.write("</A>n    ");
  100.       out.write("</TD>n  ");
  101.       out.write("</TR>n");
  102.       out.write("</TABLE>n");
  103.       out.write("</BODY>");
  104.       out.write("rnrn");
  105.       out.write("</BODY>rn");
  106.       out.write("</HTML>");
  107.     } catch (Throwable t) {
  108.       out = _jspx_out;
  109.       if (out != null && out.getBufferSize() != 0)
  110.         out.clearBuffer();
  111.       if (pageContext != null) pageContext.handlePageException(t);
  112.     } finally {
  113.       if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
  114.     }
  115.   }
  116. }