The QueryRequest class has an inner Response class that stores the results returned for the query. The value of the searchResponse property of the form handler that issued the query is set to this Response object, so you can display the query results in JSPs. For example, the following JSP fragment creates a table that displays several properties of each category in the suggestedCategories List property of the Response object:

<dsp:getvalueof bean="QueryFormHandler.searchResponse" var="queryResponse"
  scope="request"/>

<table class=data style="width:100%" border=1 cellPadding=5 cellSpacing=0>
  <tr class="alt">
    <td>path</td>
    <td>id</td>
    <td>score</td>
    <td>label</td>
  </tr>
  <c:forEach items="${queryResponse.suggestedCategories}" var="cat">
    <tr>
      <td><c:out value="${cat.path}"/></td>
      <td><c:out value="${cat.id}"/></td>
      <td><c:out value="${cat.score}"/></td>
      <td><c:out value="${cat.label}"/></td>
    </tr>
  </c:forEach>
</table>

Notice that most of the JSP tags in this example are standard JSTL tags, rather than DSP tags, because the Response object is not a Nucleus component.