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