__login.java

来自「100多M的J2EE培训内容」· Java 代码 · 共 305 行 · 第 1/2 页

JAVA
305
字号
/* compiled from JSP: /login.jsp
*
* This code was automatically generated at 14:05:54 on 2003-6-13
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*/

package jsp_servlet;

import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;

// User imports


// built-in init parameters:
// boolean             _verbose -- wants debugging

// Well-known variables:
// JspWriter out                  -- to write to the browser
// HttpServletRequest  request    -- the request object.
// HttpServletResponse response   -- the response object.
// PageContext pageContext        -- the page context for this JSP
// HttpSession session            -- the session object for the client (if any)
// ServletContext application     -- The servlet (application) context
// ServletConfig config           -- The ServletConfig for this JSP
// Object page                    -- the instance of this page's implementation class (i.e., 'this')

/**
* This code was automatically generated at 14:05:54 on 2003-6-13
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*
* Copyright (c) 2003 by BEA Systems, Inc. All Rights Reserved.
*/
public final class __login
extends
weblogic.servlet.jsp.JspBase
implements weblogic.servlet.jsp.StaleIndicator
{
    
    private static void _releaseTags(javax.servlet.jsp.tagext.Tag t) {        while (t != null) {            javax.servlet.jsp.tagext.Tag tmp = t;            t = t.getParent();            try { tmp.release(); } catch (Exception ignore) {}        }    }            // StaleIndicator interface    public boolean _isStale() {        weblogic.servlet.jsp.StaleChecker sci =(weblogic.servlet.jsp.StaleChecker)(getServletConfig().getServletContext());        java.io.File f = null;        long lastModWhenBuilt = 0L;        if (sci.isResourceStale("/login.jsp", 1055466482656L, "7.0.1.0")) return true;        return false;    }        public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) {        java.io.File f = null;        long lastModWhenBuilt = 0L;        if (sci.isResourceStale("/login.jsp", 1055466482656L, "7.0.1.0")) return true;        return false;    }            
    
    public void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException 
    {  
        
        // declare and set well-known variables:
        javax.servlet.ServletConfig config = getServletConfig();
        javax.servlet.ServletContext application = config.getServletContext();
        javax.servlet.jsp.tagext.Tag _activeTag = null;
        // variables for Tag extension protocol        int _int0 = 0, _int1 = 0;        org.apache.struts.taglib.bean.MessageTag _bean_message0 = null;        org.apache.struts.taglib.html.PasswordTag _html_password0 = null;        org.apache.struts.taglib.html.SubmitTag _html_submit0 = null;        org.apache.struts.taglib.html.ErrorsTag _html_errors0 = null;        org.apache.struts.taglib.html.TextTag _html_text0 = null;        org.apache.struts.taglib.html.FormTag _html_form0 = null;        
        Object page = this;
        javax.servlet.jsp.JspWriter out;
        javax.servlet.jsp.PageContext pageContext =        javax.servlet.jsp.JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true, 8192, true);        
        out = pageContext.getOut();        JspWriter _originalOut = out;        
        javax.servlet.http.HttpSession session = request.getSession(true);        
        
        
        try { // error page try block                        out.print("\n\n\n\n\n<html>\n<head>\n<title>");            //^%$__TAG_CODEGEN : begin message custom tag block... //[ /login.jsp; Line: 8]            /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /login.jsp; Line: 8]            if (_bean_message0 == null) _bean_message0 = new org.apache.struts.taglib.bean.MessageTag(); //[ /login.jsp; Line: 8]            _bean_message0.setPageContext(pageContext); //[ /login.jsp; Line: 8]            _bean_message0.setParent((javax.servlet.jsp.tagext.Tag)null); //[ /login.jsp; Line: 8]            _activeTag = _bean_message0; //[ /login.jsp; Line: 8]            _bean_message0.setKey(weblogic.utils.StringUtils.valueOf("app.title")); //[ /login.jsp; Line: 8]            _int0 = _bean_message0.doStartTag(); //[ /login.jsp; Line: 8]            if (_int0 == BodyTag.EVAL_BODY_BUFFERED) { //[ /login.jsp; Line: 8]                throw new JspTagException("Since tag class org.apache.struts.taglib.bean.MessageTag does not implement BodyTag, it cannot return BodyTag.EVAL_BODY_BUFFERED"); //[ /login.jsp; Line: 8]            } //[ /login.jsp; Line: 8]            /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /login.jsp; Line: 8]            _int0 = _bean_message0.doEndTag(); //[ /login.jsp; Line: 8]            if (_int0 == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_bean_message0); return; } //[ /login.jsp; Line: 8]            _activeTag = _bean_message0.getParent(); _bean_message0.release(); //[ /login.jsp; Line: 8]            /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /login.jsp; Line: 8]            /*** declare & sync AT_END TagExtra Vars here ***/ //[ /login.jsp; Line: 8]            out.print("</title>\n</head>\n<body>\n<table width=\"500\"\nborder=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tr>\n<td>&nbsp;</td>\n</tr>\n<tr bgcolor=\"#36566E\">\n<td height=\"68\" width=\"48%\">\n<div align=\"left\">\n<img src=\"images/hp_logo_wiley.gif\"\nwidth=\"100%\"\nheight=\"100%\">\n</div>\n</td>\n</tr>\n<tr>\n<td>&nbsp;</td>\n</tr>\n</table>\n");            //^%$__TAG_CODEGEN : begin errors custom tag block... //[ /login.jsp; Line: 29]            /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /login.jsp; Line: 29]            if (_html_errors0 == null) _html_errors0 = new org.apache.struts.taglib.html.ErrorsTag(); //[ /login.jsp; Line: 29]            _html_errors0.setPageContext(pageContext); //[ /login.jsp; Line: 29]            _html_errors0.setParent((javax.servlet.jsp.tagext.Tag)null); //[ /login.jsp; Line: 29]            _activeTag = _html_errors0; //[ /login.jsp; Line: 29]            _int0 = _html_errors0.doStartTag(); //[ /login.jsp; Line: 29]            if (_int0 == BodyTag.EVAL_BODY_BUFFERED) { //[ /login.jsp; Line: 29]                throw new JspTagException("Since tag class org.apache.struts.taglib.html.ErrorsTag does not implement BodyTag, it cannot return BodyTag.EVAL_BODY_BUFFERED"); //[ /login.jsp; Line: 29]            } //[ /login.jsp; Line: 29]            /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /login.jsp; Line: 29]            _int0 = _html_errors0.doEndTag(); //[ /login.jsp; Line: 29]            if (_int0 == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_html_errors0); return; } //[ /login.jsp; Line: 29]            _activeTag = _html_errors0.getParent(); _html_errors0.release(); //[ /login.jsp; Line: 29]            /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /login.jsp; Line: 29]            /*** declare & sync AT_END TagExtra Vars here ***/ //[ /login.jsp; Line: 29]            out.print("\n");            //^%$__TAG_CODEGEN : begin form custom tag block... //[ /login.jsp; Line: 30]            /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /login.jsp; Line: 30]            if (_html_form0 == null) _html_form0 = new org.apache.struts.taglib.html.FormTag(); //[ /login.jsp; Line: 30]            _html_form0.setPageContext(pageContext); //[ /login.jsp; Line: 30]            _html_form0.setParent((javax.servlet.jsp.tagext.Tag)null); //[ /login.jsp; Line: 30]            _activeTag = _html_form0; //[ /login.jsp; Line: 30]            _html_form0.setAction(weblogic.utils.StringUtils.valueOf("/logonAction.do")); //[ /login.jsp; Line: 30]            _html_form0.setMethod(weblogic.utils.StringUtils.valueOf("POST")); //[ /login.jsp; Line: 30]            _int0 = _html_form0.doStartTag(); //[ /login.jsp; Line: 30]            if (_int0 == BodyTag.EVAL_BODY_BUFFERED) { //[ /login.jsp; Line: 30]                throw new JspTagException("Since tag class org.apache.struts.taglib.html.FormTag does not implement BodyTag, it cannot return BodyTag.EVAL_BODY_BUFFERED"); //[ /login.jsp; Line: 30]            } //[ /login.jsp; Line: 30]            /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /login.jsp; Line: 30]            if (_int0 != Tag.SKIP_BODY) { // begin !SKIP_BODY... //[ /login.jsp; Line: 30]                do { //[ /login.jsp; Line: 30]                    /*** sync AT_BEGIN Vars after doInitBody ***/ //[ /login.jsp; Line: 30]

⌨️ 快捷键说明

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