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

📄 search_jsp.java

📁 tomcat最新安装程序
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;

public class search_jsp extends HttpJspBase {


  private static java.util.Vector _jspx_includes;

  static {
    _jspx_includes = new java.util.Vector(7);
    _jspx_includes.add("/taglibs.jsp");
    _jspx_includes.add("/header.jsp");
    _jspx_includes.add("/taglibs.jsp");
    _jspx_includes.add("/searchContent.jsp");
    _jspx_includes.add("/taglibs.jsp");
    _jspx_includes.add("/footer.jsp");
    _jspx_includes.add("/taglibs.jsp");
  }

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_bean_message_key;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_app_validateSession;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_errors;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_form_focus_action;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_text_size_property_maxlength;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_submit_property;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_reset;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_link_forward;

  public search_jsp() {
    _jspx_tagPool_bean_message_key = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_app_validateSession = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_html_errors = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_html_form_focus_action = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_html_text_size_property_maxlength = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_html_submit_property = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_html_reset = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_html_link_forward = new org.apache.jasper.runtime.TagHandlerPool();
  }

  public java.util.List getIncludes() {
    return _jspx_includes;
  }

  public void _jspDestroy() {
    _jspx_tagPool_bean_message_key.release();
    _jspx_tagPool_app_validateSession.release();
    _jspx_tagPool_html_errors.release();
    _jspx_tagPool_html_form_focus_action.release();
    _jspx_tagPool_html_text_size_property_maxlength.release();
    _jspx_tagPool_html_submit_property.release();
    _jspx_tagPool_html_reset.release();
    _jspx_tagPool_html_link_forward.release();
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    javax.servlet.jsp.PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;


    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html;charset=ISO-8859-1");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");
      out.write("\r\n\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n\r\n");
      out.write("\r\n\r\n");
      out.write("\r\n\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n\r\n");
      out.write("\r\n");
      out.write("<table>\r\n\t");
      out.write("<tr>\r\n\t");
      out.write("<td>\r\n\t\t");
      out.write("<img src=\"adrlogo.gif\" align=\"left\" alt=\"");
      if (_jspx_meth_bean_message_0(pageContext))
        return;
      out.write("\" />\r\n\t");
      out.write("</td>\r\n\t");
      out.write("</tr>\r\n");
      out.write("</table>\r\n\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n\r\n");
      out.write("\r\n");
      if (_jspx_meth_app_validateSession_0(pageContext))
        return;
      out.write("\r\n");
      out.write("<center>\r\n");
      if (_jspx_meth_html_errors_0(pageContext))
        return;
      out.write("\r\n");
      if (_jspx_meth_html_form_0(pageContext))
        return;
      out.write("\r\n");
      if (_jspx_meth_html_link_0(pageContext))
        return;
      out.write("\r\n");
      out.write("</center>\r\n");
      out.write("\r\n");
      out.write("\r\n\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n\r\n");
      out.write("\r\n");
      out.write("<br>\r\n");
      out.write("<hr>\r\n");
      out.write("<table>\r\n\t");
      out.write("<tr>\r\n\r\n\t");
      out.write("<td>\r\n\t");
      out.write("<img src=\"struts-power.gif\" align=\"left\"  alt=\"");
      if (_jspx_meth_bean_message_7(pageContext))
        return;
      out.write("\" />\r\n\t");
      out.write("</td>\r\n\t");
      out.write("<td>\r\n\t");
      out.write("<img src=\"workswithmysql.png\" align=\"left\"  alt=\"MySql\" />\r\n\t");
      out.write("<td>\r\n\t");
      out.write("</tr>\r\n \r\n");
      out.write("</table>\r\n\r\n");
      out.write("\r\n");
    } catch (Throwable t) {
      out = _jspx_out;
      if (out != null && out.getBufferSize() != 0)
        out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }

  private boolean _jspx_meth_bean_message_0(javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  bean:message ---- */
    org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_0 = (org.apache.struts.taglib.bean.MessageTag) _jspx_tagPool_bean_message_key.get(org.apache.struts.taglib.bean.MessageTag.class);
    _jspx_th_bean_message_0.setPageContext(pageContext);
    _jspx_th_bean_message_0.setParent(null);
    _jspx_th_bean_message_0.setKey("image.adrlogo");
    int _jspx_eval_bean_message_0 = _jspx_th_bean_message_0.doStartTag();
    if (_jspx_th_bean_message_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_bean_message_key.reuse(_jspx_th_bean_message_0);
    return false;
  }

  private boolean _jspx_meth_app_validateSession_0(javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  app:validateSession ---- */
    addressbook.tags.ValidateSessionTag _jspx_th_app_validateSession_0 = (addressbook.tags.ValidateSessionTag) _jspx_tagPool_app_validateSession.get(addressbook.tags.ValidateSessionTag.class);
    _jspx_th_app_validateSession_0.setPageContext(pageContext);
    _jspx_th_app_validateSession_0.setParent(null);
    int _jspx_eval_app_validateSession_0 = _jspx_th_app_validateSession_0.doStartTag();
    if (_jspx_th_app_validateSession_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_app_validateSession.reuse(_jspx_th_app_validateSession_0);
    return false;
  }

  private boolean _jspx_meth_html_errors_0(javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  html:errors ---- */
    org.apache.struts.taglib.html.ErrorsTag _jspx_th_html_errors_0 = (org.apache.struts.taglib.html.ErrorsTag) _jspx_tagPool_html_errors.get(org.apache.struts.taglib.html.ErrorsTag.class);
    _jspx_th_html_errors_0.setPageContext(pageContext);
    _jspx_th_html_errors_0.setParent(null);
    int _jspx_eval_html_errors_0 = _jspx_th_html_errors_0.doStartTag();
    if (_jspx_th_html_errors_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_html_errors.reuse(_jspx_th_html_errors_0);
    return false;
  }

  private boolean _jspx_meth_html_form_0(javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  html:form ---- */
    org.apache.struts.taglib.html.FormTag _jspx_th_html_form_0 = (org.apache.struts.taglib.html.FormTag) _jspx_tagPool_html_form_focus_action.get(org.apache.struts.taglib.html.FormTag.class);
    _jspx_th_html_form_0.setPageContext(pageContext);
    _jspx_th_html_form_0.setParent(null);
    _jspx_th_html_form_0.setAction("/search.do");
    _jspx_th_html_form_0.setFocus("title");
    int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
    if (_jspx_eval_html_form_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n\t ");
        out.write("<tr>\r\n\t ");
        out.write("<td> ");
        if (_jspx_meth_bean_message_1(_jspx_th_html_form_0, pageContext))
          return true;
        out.write("</td>\r\n\t ");
        out.write("<td>\r\n\t \t");
        if (_jspx_meth_html_text_0(_jspx_th_html_form_0, pageContext))
          return true;
        out.write("\r\n\t ");
        out.write("</td>");
        out.write("</tr>\r\n\t");
        out.write("<tr>\r\n\t \t");
        out.write("<td> ");
        if (_jspx_meth_bean_message_2(_jspx_th_html_form_0, pageContext))
          return true;
        out.write("</td>\r\n\t\t ");
        out.write("<td>\r\n\t\t\t");
        if (_jspx_meth_html_text_1(_jspx_th_html_form_0, pageContext))
          return true;
        out.write("\r\n\t\t ");
        out.write("</td>\r\n\t ");
        out.write("</tr>\r\n\t");
        out.write("<tr>\r\n\t\t ");
        out.write("<td> ");
        if (_jspx_meth_bean_message_3(_jspx_th_html_form_0, pageContext))
          return true;
        out.write("</td>\r\n\t\t ");
        out.write("<td>\r\n\t\t\t");
        if (_jspx_meth_html_text_2(_jspx_th_html_form_0, pageContext))
          return true;
        out.write("\r\n\t\t ");
        out.write("</td>\r\n\t ");
        out.write("</tr>\r\n\t ");
        out.write("<tr>\r\n\t    ");
        out.write("<td align=\"right\">\r\n\t      ");
        if (_jspx_meth_html_submit_0(_jspx_th_html_form_0, pageContext))
          return true;
        out.write("\r\n\r\n\t      \r\n\t     ");
        out.write("</td>\r\n\t  ");
        out.write("<td align=\"left\">\r\n\t  ");

⌨️ 快捷键说明

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