# RowSet.jsp Sample

This topic inludes the source code for the RowSet.jsp Sample.

## Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebApp/tagSamples/netui_databinding/repeater/

## Sample Source Code

`01 <!--Generated by Weblogic Workshop--> 02 <%@ page language="java" contentType="text/html;charset=UTF-8"%> 03 <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%> 04 <%@ taglib uri="netui-tags-html.tld" prefix="netui"%> 05 <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%> 06 <html> 07 <head> 08 <title> 09 repeaterTag/rowSet.jsp 10 </title> 11 <netui:base/> 12 </head> 13 <body> 14 <jsp:include page="/resources/jsp/header.jsp"/> 15 <p><b>A RowSet rendered in an HTML table</b> 16 <p><netui-data:callPageFlow method="getRowSet" resultId="rowset"/> 17 <netui-data:repeater dataSource="{pageContext.rowset}"> 18 <netui-data:repeaterHeader> 19 <table border="1"> 20 <tr bgcolor="#ccccff"> 21 <td><b>Item Number</b></td> 22 <td><b>Item Name</b></td> 23 <td><b>Quantity Available</b></td> 24 <td><b>Price</b></td> 25 </tr> 26 </netui-data:repeaterHeader> 27 <netui-data:repeaterItem> 28 <tr> 29 <td> 30 <netui:label value="{container.item.itemnumber}" /> 31 </td> 32 <td> 33 <netui:label value="{container.item.itemname}" /> 34 </td> 35 <td> 36 <netui:label value="{container.item.quantityavailable}" /> 37 </td> 38 <td> 39 <netui:label value="{container.item.price}"> 40 <netui:formatNumber type="currency"/> 41 </netui:label> 42 </td> 43 </tr> 44 </netui-data:repeaterItem> 45 <netui-data:repeaterFooter> 46 </table> 47 </netui-data:repeaterFooter> 48 </netui-data:repeater> 49 <p><a href="index.jsp">Back to Repeater Samples Home</a> 50 </body> 51 </html>`