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

📄 index2_0002ejsp_jsp.java

📁 经典的“固定资产管理系统”JSP源代码
💻 JAVA
字号:
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;


public class index2_0002ejsp_jsp extends HttpJspBase {


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

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

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

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

            // end
            // HTML // begin [file="/index2.jsp";from=(4,48);to=(10,2)]
                out.write("\r\n<html>\r\n\r\n<head>\r\n  <meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">\r\n  <title>Front-Page</title>\r\n  ");

            // end
            // begin [file="/index2.jsp";from=(10,4);to=(10,39)]
                if(request.getServerPort() == 80) {
            // end
            // HTML // begin [file="/index2.jsp";from=(10,41);to=(11,21)]
                out.write("\r\n  <base href=\"http://");

            // end
            // begin [file="/index2.jsp";from=(11,24);to=(11,47)]
                out.print(request.getServerName());
            // end
            // begin [file="/index2.jsp";from=(11,52);to=(11,76)]
                out.print(request.getContextPath());
            // end
            // HTML // begin [file="/index2.jsp";from=(11,78);to=(12,2)]
                out.write("/\">\r\n  ");

            // end
            // begin [file="/index2.jsp";from=(12,4);to=(12,12)]
                } else {
            // end
            // HTML // begin [file="/index2.jsp";from=(12,14);to=(13,21)]
                out.write("\r\n  <base href=\"http://");

            // end
            // begin [file="/index2.jsp";from=(13,24);to=(13,47)]
                out.print(request.getServerName());
            // end
            // HTML // begin [file="/index2.jsp";from=(13,49);to=(13,50)]
                out.write(":");

            // end
            // begin [file="/index2.jsp";from=(13,53);to=(13,76)]
                out.print(request.getServerPort());
            // end
            // begin [file="/index2.jsp";from=(13,81);to=(13,105)]
                out.print(request.getContextPath());
            // end
            // HTML // begin [file="/index2.jsp";from=(13,107);to=(14,2)]
                out.write("/\">\r\n  ");

            // end
            // begin [file="/index2.jsp";from=(14,4);to=(14,5)]
                }
            // end
            // HTML // begin [file="/index2.jsp";from=(14,7);to=(56,18)]
                out.write("\r\n</head>\r\n\r\n\r\n<body leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" bgcolor=\"#FFFFFF\">\r\n<h1>\r\n  <script language=\"javascript\">\r\n    if(top.location!=self.location){top.location = self.location.href}\r\n  </script>\r\n</h1>\r\n\r\n\r\n<table width=\"640\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\" bgcolor=\"#666666\" height=\"87%\">\r\n  <tr valign=\"top\" align=\"left\">\r\n    <td height=\"220\" colspan=\"2\">\r\n      <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"100%\">\r\n        <tr>\r\n          <td width=\"27%\" bgcolor=\"#FFFFFF\" height=\"60\">\r\n            <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n              <tr>\r\n                <td width=\"40\">&nbsp;</td>\r\n                <td align=\"left\" width=\"249\">&nbsp;</td>\r\n              </tr>\r\n            </table>\r\n          </td>\r\n          <td width=\"73%\" bgcolor=\"#FFFFFF\">&nbsp; </td>\r\n        </tr>\r\n        <tr bgcolor=\"#FFFFFF\">\r\n          <td width=\"27%\" align=\"left\" valign=\"top\">&nbsp;</td>\r\n          <td width=\"73%\" align=\"left\" valign=\"top\">&nbsp;</td>\r\n        </tr>\r\n        <tr bgcolor=\"#FFFFFF\">\r\n          <td width=\"27%\">&nbsp;</td>\r\n          <td width=\"73%\">&nbsp;</td>\r\n        </tr>\r\n        <tr bgcolor=\"#FFFFFF\">\r\n          <td width=\"27%\">&nbsp;</td>\r\n          <td width=\"73%\">\r\n            <table width=\"450\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n              <tr>\r\n                <td width=\"323\">&nbsp;</td>\r\n                <td align=\"center\" width=\"77\" style=\"border: #000000; border-style: solid; border-top-width: thin; border-right-width: thin; border-bottom-width: thin; border-left-width: thin\">\r\n                  ");

            // end
            // begin [file="/index2.jsp";from=(56,18);to=(56,44)]
                /* ----  html:link ---- */
                org.apache.struts.taglib.html.LinkTag _jspx_th_html_link_0 = new org.apache.struts.taglib.html.LinkTag();
                _jspx_th_html_link_0.setPageContext(pageContext);
                _jspx_th_html_link_0.setParent(null);
                _jspx_th_html_link_0.setHref("main.do");
                try {
                    int _jspx_eval_html_link_0 = _jspx_th_html_link_0.doStartTag();
                    if (_jspx_eval_html_link_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                        try {
                            if (_jspx_eval_html_link_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                              out = pageContext.pushBody();
                              _jspx_th_html_link_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                              _jspx_th_html_link_0.doInitBody();
                          }
                          do {
                          // end
                          // HTML // begin [file="/index2.jsp";from=(56,44);to=(56,114)]
                              out.write("<font face=\"Verdana, Arial, Helvetica, sans-serif\"><b>ENTER</b></font>");

                          // end
                          // begin [file="/index2.jsp";from=(56,114);to=(56,126)]
                          } while (_jspx_th_html_link_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      } finally {
                          if (_jspx_eval_html_link_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
                              out = pageContext.popBody();
                      }
                  }
                  if (_jspx_th_html_link_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                      return;
              } finally {
                  _jspx_th_html_link_0.release();
              }
          // end
          // HTML // begin [file="/index2.jsp";from=(56,126);to=(74,0)]
              out.write("\r\n                </td>\r\n              </tr>\r\n            </table>\r\n          </td>\r\n        </tr>\r\n        <tr bgcolor=\"#FFFFFF\">\r\n          <td width=\"27%\">&nbsp;</td>\r\n          <td width=\"73%\">&nbsp;</td>\r\n        </tr>\r\n      </table>\r\n    </td>\r\n  </tr>\r\n</table>\r\n<p>&nbsp; </p>\r\n</body>\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 + -