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

📄 logon_0002ejsp_jsp.java

📁 应用了最基本的struts框架开发
💻 JAVA
字号:
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;


public class logon_0002ejsp_jsp extends HttpJspBase {


    static {
    }
    public logon_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=gb2312");
            pageContext = _jspxFactory.getPageContext(this, request, response,
            			"", true, 8192, true);

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

            // HTML // begin [file="/logon.jsp";from=(0,49);to=(4,0)]
                out.write("\r\n<html>\r\n<body>\r\n   <LINK href=\"address.css\" type=text/css rel=stylesheet>\r\n");

            // end
            // HTML // begin [file="/header.jsp";from=(0,0);to=(14,0)]
                out.write("<center>\r\n    <table>\r\n\t<tr>\r\n\t<td>\r\n\t<img border=\"0\" src=\"images/logo.gif\" width=\"164\" height=\"48\">\r\n\t</td>\r\n\t</tr>\r\n        <tr>\r\n          <td align=\"center\">\r\n            <a href=\"http://545639.tomore.com\">更多源码下载</a>\r\n          </td>\r\n        </tr>\r\n   </table>\r\n</center>\r\n");

            // end
            // HTML // begin [file="/logon.jsp";from=(4,32);to=(31,0)]
                out.write("\r\n<!--%@ include file=\"logonContent.jsp\" %-->\r\n<center>\r\n<form action=\"checkLog.jsp\" method=\"POST\">\r\n<table border=\"0\" width=\"25%\" cellspacing=\"2\" cellpadding=\"2\">\r\n  <tr>\r\n    <td>UserName:</td>\r\n    <td align=\"left\">\r\n      <input type=\"text\" name=\"userName\"  size=\"15\">\r\n    </td>\r\n  </tr>\r\n\r\n  <tr>\r\n    <td>Password:</td>\r\n    <td align=\"left\">\r\n       <input type=\"password\" name=\"password\"  size=\"15\" >\r\n    </td>\r\n  </tr>\r\n\r\n  <tr>\r\n    <td colspan=\"2\" align=\"center\">\r\n   <input type=\"submit\" value=\"submit\">&nbsp;&nbsp;&nbsp;<input type=\"reset\" value=\"reset\">\r\n    </td>\r\n  </tr>\r\n</table>\r\n<form>\r\n</center>\r\n");

            // end
            // HTML // begin [file="/footer.jsp";from=(0,0);to=(14,0)]
                out.write("<center>\r\n<table>\r\n\t<tr>\r\n\t<td>\r\n            <img border=\"0\" src=\"images/mysql.png\" width=\"125\" height=\"42\">\r\n\t</td>\r\n\t<td>\r\n           <img border=\"0\" src=\"images/power.gif\" width=\"95\" height=\"37\">\r\n\t<td>\r\n\t</tr>\r\n\r\n</table>\r\n</center>\r\n\r\n");

            // end
            // HTML // begin [file="/logon.jsp";from=(31,32);to=(35,0)]
                out.write("\r\n</body>\r\n</html>\r\n\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 + -