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