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

📄 main_0002ejsp_jsp.java

📁 一个聊天系统
💻 JAVA
字号:
import java.sql.*;
import chatroomweb.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;


public class main_0002ejsp_jsp extends HttpJspBase {

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

    static {
    }
    public main_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="/main.jsp";from=(0,47);to=(1,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/main.jsp";from=(1,31);to=(2,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/main.jsp";from=(2,33);to=(3,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/main.jsp";from=(4,4);to=(5,0)]
                out.write("\r\n");

            // end
            // begin [file="/main.jsp";from=(5,0);to=(5,68)]
                chatroomweb.DbJspBean dbBean = null;
                boolean _jspx_specialdbBean  = false;
                 synchronized (pageContext) {
                    dbBean= (chatroomweb.DbJspBean)
                    pageContext.getAttribute("dbBean",PageContext.PAGE_SCOPE);
                    if ( dbBean == null ) {
                        _jspx_specialdbBean = true;
                        try {
                            dbBean = (chatroomweb.DbJspBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "chatroomweb.DbJspBean");
                        } catch (ClassNotFoundException exc) {
                             throw new InstantiationException(exc.getMessage());
                        } catch (Exception exc) {
                             throw new ServletException (" Cannot create bean of class "+"chatroomweb.DbJspBean", exc);
                        }
                        pageContext.setAttribute("dbBean", dbBean, PageContext.PAGE_SCOPE);
                    }
                 } 
                if(_jspx_specialdbBean == true) {
            // end
            // begin [file="/main.jsp";from=(5,0);to=(5,68)]
                }
            // end
            // HTML // begin [file="/main.jsp";from=(5,82);to=(37,0)]
                out.write("\r\n\r\n<html>\r\n\r\n<head>\r\n\t<meta name=\"GENERATOR\" content=\"Microsoft FrontPage 5.0\">\r\n\t<meta name=\"ProgId\" content=\"FrontPage.Editor.Document\">\r\n\t<meta HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=GBK\">\r\n\t<title>聊天室后台管理主页面</title>\r\n\t<style>\r\n\t\t<!--\r\n\t\ttr {  font-family: \"宋体\", \"serif\"; font-size: 9pt}\r\n\t\t-->\r\n\t</style>\r\n</head>\r\n\r\n<frameset framespacing=\"0\" border=\"0\" frameborder=\"0\" rows=\"1,*\">\r\n  <frame name=\"banner\" scrolling=\"auto\" noresize target=\"contents\" src=\"spacing.htm\">\r\n  <frameset cols=\"165,*\">\r\n    <frame name=\"contents\" scrolling=\"yes\" noresize src=\"menubar.jsp\">\r\n    <frame name=\"mainBody\" src=\"right.htm\" target=\"_self\">\r\n  </frameset>\r\n  <noframes>\r\n  <body bgcolor=\"#EFEFEF\">\r\n\r\n  <p>此网页使用了框架,但您的浏览器不支持框架。</p>\r\n\r\n  </body>\r\n  </noframes>\r\n</frameset>\r\n\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 + -