# Vector.jsp Sample

This topic inludes the source code for the Vector.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/vector.jsp 10 </title> 11 <netui:base/> 12 </head> 13 <body> 14 <jsp:include page="/resources/jsp/header.jsp"/> 15 <p><b>A Vector rendered in an HTML table</b> 16 <p><netui-data:callPageFlow method="getVector" resultId="vec"/> 17 <netui-data:repeater dataSource="{pageContext.vec}"> 18 <netui-data:repeaterHeader> 19 <table border="1"> 20 <tr> 21 <td><b>index</b></td> 22 <td><b>name</b></td> 23 </tr> 24 </netui-data:repeaterHeader> 25 <netui-data:repeaterItem> 26 <tr> 27 <td> 28 <netui:label value="{container.index}" /> 29 </td> 30 <td> 31 <netui:label value="{container.item}" /> 32 </td> 33 </tr> 34 </netui-data:repeaterItem> 35 <netui-data:repeaterFooter> 36 </table> 37 </netui-data:repeaterFooter> 38 </netui-data:repeater> 39 <p><a href="index.jsp">Back to Repeater Samples Home</a> 40 </body> 41 </html>`