hello_jsp_0.java

来自「设备资产管理源代码和 公共的函数」· Java 代码 · 共 116 行

JAVA
116
字号
package logon;

import com.test.action.* ;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;

/* File Declaration Phase */

public class hello_jsp_0 extends com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase {

  /* Class Declaration Phase */

  static {
    /* Static Initializer Phase */
  }

  public hello_jsp_0( ) {
  }

  private static boolean _jspx_inited = false;

  public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
    /* Init Method Phase */
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse  response)
      throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    String  _value = null;
    java.util.Stack _jspxTagObjects = new java.util.Stack();
    /* Service Declaration Phase */
    // begin [file="/logon/hello.jsp";from=(23,0);to=(23,35)]
      /* ------  sophie:action ------ */
      com.test.tags.ActionTag _jspx_th_sophie_action_0 = new com.test.tags.ActionTag();
    // end

    try {

      if (_jspx_inited == false) {
        synchronized (this) {
          if (_jspx_inited == false) {
            _jspx_init();
            _jspx_inited = true;
          }
        }
      }

      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html; charset=BIG5");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			"", true, 8192, true);

      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();

      /* Service Method Phase */

      // HTML // begin [file="/logon/hello.jsp";from=(0,0);to=(3,0)]
        out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n<HTML>\r\n<HEAD>\r\n");

      // end
      // HTML // begin [file="/logon/hello.jsp";from=(7,2);to=(9,0)]
        out.write("\r\n\r\n");

      // end
      // HTML // begin [file="/logon/hello.jsp";from=(11,2);to=(13,0)]
        out.write("\r\n\r\n");

      // end
      // HTML // begin [file="/logon/hello.jsp";from=(13,46);to=(23,0)]
        out.write("\r\n\r\n<META http-equiv=\"Content-Type\" content=\"text/html; charset=BIG5\">\r\n<META name=\"GENERATOR\" content=\"IBM WebSphere Studio\">\r\n<TITLE>logon.jsp</TITLE>\r\n</HEAD>\r\n<BODY>\r\n\r\n<div>Hey,you are welcome!</div>\r\n\r\n");

      // end
      // begin [file="/logon/hello.jsp";from=(23,0);to=(23,35)]
        _jspx_th_sophie_action_0.setPageContext(pageContext);
        _jspx_th_sophie_action_0.setParent(null);
        _jspx_th_sophie_action_0.setActionName("test");
        _jspxTagObjects.push(_jspx_th_sophie_action_0);
          int _jspx_eval_sophie_action_0 = _jspx_th_sophie_action_0.doStartTag();
        // end
        // begin [file="/logon/hello.jsp";from=(23,0);to=(23,35)]
          if (_jspx_th_sophie_action_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
        ((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
      // end
      // HTML // begin [file="/logon/hello.jsp";from=(23,35);to=(36,0)]
        out.write("\r\n\r\n<form name=\"loginForm\" action=\"/test.action\" method=\"post\">\r\n<div>your name:<input type=\"text\" name=\"name\" ></div>\r\n<div><input type=\"submit\" name=\"button\" value=\"Get in\"/></div>\r\n</form>\r\n\r\n\r\n\r\n\r\n\r\n</BODY>\r\n</HTML>\r\n");

      // end

    } catch (Throwable t) {
      if (out != null && out.getBufferSize() != 0)
        out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);
    } finally {
      while (_jspxTagObjects.empty() == false){
        ((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
      }
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);

      /* Service Finally Phase */
    }
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?