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