⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jsp1_0002ejsp_jsp.java

📁 200多个自己编的java程序.rar
💻 JAVA
字号:
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;


public class jsp1_0002ejsp_jsp extends HttpJspBase {

    // begin [file="/jsp1.jsp";from=(7,0);to=(7,68)]
    // end

    static {
    }
    public jsp1_0002ejsp_jsp( ) {
    }

    private static boolean _jspx_inited = false;

    public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
    }

    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;
        try {

            if (_jspx_inited == false) {
                synchronized (this) {
                    if (_jspx_inited == false) {
                        _jspx_init();
                        _jspx_inited = true;
                    }
                }
            }
            _jspxFactory = JspFactory.getDefaultFactory();
            response.setContentType("text/html; charset=GBK");
            pageContext = _jspxFactory.getPageContext(this, request, response,
            			"", true, 8192, true);

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

            // HTML // begin [file="/jsp1.jsp";from=(0,48);to=(7,0)]
                out.write("\r\n<html>\r\n<head>\r\n<title>\r\njsp1\r\n</title>\r\n</head>\r\n");

            // end
            // begin [file="/jsp1.jsp";from=(7,0);to=(7,68)]
                web.Jsp1Bean jsp1BeanId = null;
                boolean _jspx_specialjsp1BeanId  = false;
                 synchronized (session) {
                    jsp1BeanId= (web.Jsp1Bean)
                    pageContext.getAttribute("jsp1BeanId",PageContext.SESSION_SCOPE);
                    if ( jsp1BeanId == null ) {
                        _jspx_specialjsp1BeanId = true;
                        try {
                            jsp1BeanId = (web.Jsp1Bean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "web.Jsp1Bean");
                        } catch (ClassNotFoundException exc) {
                             throw new InstantiationException(exc.getMessage());
                        } catch (Exception exc) {
                             throw new ServletException (" Cannot create bean of class "+"web.Jsp1Bean", exc);
                        }
                        pageContext.setAttribute("jsp1BeanId", jsp1BeanId, PageContext.SESSION_SCOPE);
                    }
                 } 
                if(_jspx_specialjsp1BeanId == true) {
            // end
            // begin [file="/jsp1.jsp";from=(7,0);to=(7,68)]
                }
            // end
            // HTML // begin [file="/jsp1.jsp";from=(7,68);to=(8,0)]
                out.write("\r\n");

            // end
            // begin [file="/jsp1.jsp";from=(8,0);to=(8,50)]
                JspRuntimeLibrary.introspect(pageContext.findAttribute("jsp1BeanId"), request);
            // end
            // HTML // begin [file="/jsp1.jsp";from=(8,50);to=(15,0)]
                out.write("\r\n<body bgcolor=\"#ffffff\">\r\n<h1>\r\nJBuilder Generated JSP\r\n</h1>\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 {
            if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
        }
    }
}

⌨️ 快捷键说明

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