# Index.jsp Sample

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

## Sample Location

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

BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebApp/handlingData/xmlBeans/

## Sample Source Code

`01 <%@ page language="java" contentType="text/html;charset=UTF-8"%> 02 <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%> 03 <%@ taglib uri="netui-tags-html.tld" prefix="netui"%> 04 <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%> 05 <netui:html> 06 <head> 07 <title> 08 Items 09 </title> 10 </head> 11 <body> 12 <jsp:include page="/resources/jsp/header.jsp"/> 13 <h3>Handling XMLBean Data</h3> 14 <p>The following HTML table from rendered by passing XMLBean data to a &lt;netui-data:repeater> tag. 15 <blockquote> 16 <netui-data:repeater dataSource="{pageFlow._rows.rows.itemsRowSet.itemsRowArray}"> 17 <netui-data:repeaterHeader> 18 <h2>Items</h2> 19 <table class="tablebody" border="1"> 20 <tr class="tablehead" valign="top"> 21 <th>ITEMNAME</th> 22 <th>ITEMNUMBER</th> 23 <th>PRICE</th> 24 <th>QUANTITYAVAILABLE</th> 25 </tr> 26 </netui-data:repeaterHeader> 27 <netui-data:repeaterItem> 28 <tr valign="top"> 29 <td><netui:label value="{container.item.ITEMNAME}" defaultValue="&nbsp;"></netui:label></td> 30 <td><netui:label value="{container.item.ITEMNUMBER}" defaultValue="&nbsp;"></netui:label></td> 31 <td><netui:label value="{container.item.PRICE}" defaultValue="&nbsp;"></netui:label></td> 32 <td><netui:label value="{container.item.QUANTITYAVAILABLE}" defaultValue="&nbsp;"></netui:label></td> 33 </tr> 34 </netui-data:repeaterItem> 35 <netui-data:repeaterFooter></table></netui-data:repeaterFooter> 36 </netui-data:repeater> 37 </blockquote> 38 <hr> 39 <p><netui:anchor href="/WebApp/handlingData/handlingDataController.jpf"> 40 Back to Handling Data Samples</netui:anchor> 41 </body> 42 </netui:html>`