Each request 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"

<table class=data style="width:100%" border=1 cellPadding=5 cellSpacing=0>
  <tr class="alt">
  <c:forEach items="${queryResponse.suggestedCategories}" var="cat">
      <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>

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.

loading table of contents...