Sun Java System Web Server 7.0 Update 4 Developer's Guide to Java Web Applications

searchForm Tag

This tag constructs an HTML form that contains default, hidden form elements such as the current search result index and number of records per page by default. The default names for the form, index, and number of records are searchform, si, and ns.


The searchForm tag uses the following attributes:


<s1ws:form action="results.jsp" />

This example creates an HTML form tag <form name="searchform" action="results.jsp" method="GET">, along with two hidden input boxes: