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

Java编程

开发平台:

Java

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