__addemployee.java

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

JAVA
679
字号
/* compiled from JSP: /addemployee.jsp
*
* This code was automatically generated at 14:05:43 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:43 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 __addemployee
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("/addemployee.jsp", 1055466282964L, "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("/addemployee.jsp", 1055466282964L, "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, _int2 = 0, _int3 = 0;        org.apache.struts.taglib.bean.MessageTag _bean_message0 = null;        org.apache.struts.taglib.html.SubmitTag _html_submit0 = null;        org.apache.struts.taglib.html.ErrorsTag _html_errors0 = null;        org.apache.struts.taglib.html.ResetTag _html_reset0 = null;        org.apache.struts.taglib.html.TextTag _html_text0 = null;        org.apache.struts.taglib.html.CancelTag _html_cancel0 = null;        org.apache.struts.taglib.html.OptionTag _html_option0 = null;        org.apache.struts.taglib.html.FormTag _html_form0 = null;        org.apache.struts.taglib.html.SelectTag _html_select0 = 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("\r\n\r\n\r\n\r\n<html>\r\n<head>\r\n<title>");            //^%$__TAG_CODEGEN : begin message custom tag block... //[ /addemployee.jsp; Line: 7]            /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /addemployee.jsp; Line: 7]            if (_bean_message0 == null) _bean_message0 = new org.apache.struts.taglib.bean.MessageTag(); //[ /addemployee.jsp; Line: 7]            _bean_message0.setPageContext(pageContext); //[ /addemployee.jsp; Line: 7]            _bean_message0.setParent((javax.servlet.jsp.tagext.Tag)null); //[ /addemployee.jsp; Line: 7]            _activeTag = _bean_message0; //[ /addemployee.jsp; Line: 7]            _bean_message0.setKey(weblogic.utils.StringUtils.valueOf("app.title")); //[ /addemployee.jsp; Line: 7]            _int0 = _bean_message0.doStartTag(); //[ /addemployee.jsp; Line: 7]            if (_int0 == BodyTag.EVAL_BODY_BUFFERED) { //[ /addemployee.jsp; Line: 7]                throw new JspTagException("Since tag class org.apache.struts.taglib.bean.MessageTag does not implement BodyTag, it cannot return BodyTag.EVAL_BODY_BUFFERED"); //[ /addemployee.jsp; Line: 7]            } //[ /addemployee.jsp; Line: 7]            /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /addemployee.jsp; Line: 7]            _int0 = _bean_message0.doEndTag(); //[ /addemployee.jsp; Line: 7]            if (_int0 == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_bean_message0); return; } //[ /addemployee.jsp; Line: 7]            _activeTag = _bean_message0.getParent(); _bean_message0.release(); //[ /addemployee.jsp; Line: 7]            /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /addemployee.jsp; Line: 7]            /*** declare & sync AT_END TagExtra Vars here ***/ //[ /addemployee.jsp; Line: 7]            out.print("</title>\r\n</head>\r\n<body>\r\n<table width=\"500\"\r\nborder=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n<tr>\r\n<td>&nbsp;</td>\r\n</tr>\r\n<tr bgcolor=\"#36566E\">\r\n<td height=\"68\" width=\"48%\">\r\n<div align=\"left\">\r\n<img src=\"images/hp_logo_wiley.gif\" width=\"220\" height=\"74\">\r\n</div>\r\n</td>\r\n</tr>\r\n<tr>\r\n<td>&nbsp;</td>\r\n</tr>\r\n</table>\r\n");            //^%$__TAG_CODEGEN : begin errors custom tag block... //[ /addemployee.jsp; Line: 26]            /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /addemployee.jsp; Line: 26]            if (_html_errors0 == null) _html_errors0 = new org.apache.struts.taglib.html.ErrorsTag(); //[ /addemployee.jsp; Line: 26]            _html_errors0.setPageContext(pageContext); //[ /addemployee.jsp; Line: 26]            _html_errors0.setParent((javax.servlet.jsp.tagext.Tag)null); //[ /addemployee.jsp; Line: 26]            _activeTag = _html_errors0; //[ /addemployee.jsp; Line: 26]            _int0 = _html_errors0.doStartTag(); //[ /addemployee.jsp; Line: 26]            if (_int0 == BodyTag.EVAL_BODY_BUFFERED) { //[ /addemployee.jsp; Line: 26]                throw new JspTagException("Since tag class org.apache.struts.taglib.html.ErrorsTag does not implement BodyTag, it cannot return BodyTag.EVAL_BODY_BUFFERED"); //[ /addemployee.jsp; Line: 26]            } //[ /addemployee.jsp; Line: 26]            /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /addemployee.jsp; Line: 26]            _int0 = _html_errors0.doEndTag(); //[ /addemployee.jsp; Line: 26]            if (_int0 == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_html_errors0); return; } //[ /addemployee.jsp; Line: 26]

⌨️ 快捷键说明

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