To add a basic search box to a Web page on your Web site, add the following code at the location on the page where you want the search box to appear:
<form name="SearchForm" method="get" action="/qfsearch/SearchServlet">
<input type="text" name="query">
<input type="submit" value="Search">
</form>