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

📄 querycondition_0002ejsp_jsp.java

📁 全文搜索源码,基于开源项目Lucene编写,开发语言为JAVA,本程序做为LUCENE的示例DEMO
💻 JAVA
字号:
package JSP;

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


public class QueryCondition_0002ejsp_jsp extends HttpJspBase {


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

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

            // HTML // begin [file="/JSP/QueryCondition.jsp";from=(0,60);to=(1,0)]
                out.write("\r\n");

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

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

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

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

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

            // end
            // begin [file="/JSP/QueryCondition.jsp";from=(6,0);to=(6,11)]
                /* ----  html:html ---- */
                org.apache.struts.taglib.html.HtmlTag _jspx_th_html_html_0 = new org.apache.struts.taglib.html.HtmlTag();
                _jspx_th_html_html_0.setPageContext(pageContext);
                _jspx_th_html_html_0.setParent(null);
                try {
                    int _jspx_eval_html_html_0 = _jspx_th_html_html_0.doStartTag();
                    if (_jspx_eval_html_html_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                        throw new JspTagException("Since tag handler class org.apache.struts.taglib.html.HtmlTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                    if (_jspx_eval_html_html_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                        do {
                        // end
                        // HTML // begin [file="/JSP/QueryCondition.jsp";from=(6,11);to=(62,0)]
                            out.write("\r\n<head>\r\n<title>鍏ㄦ枃鎼滅储</title>\r\n<link href=\"/WebGIS/CSS/MapStyle.css\" rel=\"stylesheet\" type=\"text/css\">\r\n</head>\r\n<script language=\"JavaScript\" type=\"text/JavaScript\">\r\nvar URL = location.protocol+\"//\"+location.host+\"/LuceneWeb/searchAction.do\";\r\nvar XMLHttp;\r\n\r\nfunction requestSearch(queryStr,levelname,levelcode){\r\n  XMLHttp = new ActiveXObject(\"Microsoft.XMLHTTP\");\r\n  XMLHttp.onreadystatechange=HandleProtocol;\r\n  XMLHttp.open(\"Post\",URL,true);\r\n  XMLHttp.setrequestheader(\"content-length\",queryStr.length);\r\n  XMLHttp.setrequestheader(\"content-type\",\"application/x-www-form-urlencoded\");\r\n  XMLHttp.send(\"queryStr=\"+queryStr+\"&levelname=\"+levelname+\"&levelcode=\"+levelcode);//鍙戦

⌨️ 快捷键说明

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