opensearch.jsp revision d2b27f3d647af6fca607f14cb9296cc61c64b5b7
1450N/ASee LICENSE.txt included in this distribution for the specific
1450N/Afile and include the License file at LICENSE.txt.
1450N/A--%><%@ page import = "java.util.List,
1450N/AString q = request.getParameter("q");
1450N/AString defs = request.getParameter("defs");
1450N/AString refs = request.getParameter("refs");
1450N/AString hist = request.getParameter("hist");
1450N/AString path = request.getParameter("path");
1450N/ARuntimeEnvironment environment = RuntimeEnvironment.getInstance();
1450N/AString Context = request.getContextPath();
1450N/AString laf = environment.getWebappLAF();
1450N/AStringBuffer url = request.getRequestURL();
1450N/A text.append(',');
1450N/A text.append(tproj);
1450N/A proj=proj + Util.URIEncode(tproj)+ ",";
1450N/A proj = proj + "project=" + Util.URIEncode(tproj)+ "&";
1450N/AString projtext = text.toString();
1450N/A<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
1450N/A<Url type="application/x-suggestions+json" template="suggestionURL"/>