# Nested.jsp Sample

This topic inludes the source code for the Nested.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 <%@ 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 nested.jsp 09 </title> 10 </head> 11 <body> 12 <jsp:include page="/resources/jsp/header.jsp"/> 13 14 <% 15 String[][] multiDimArr = { 16 {"1","2","3","4","5"}, 17 {"a","b","c","d","e"}, 18 {"!","@","#","$","%"}, 19 {"A","B","C","D","E"} 20 }; 21 pageContext.setAttribute("multiDimArr", multiDimArr); 22 %> 23 24 <p><b>A multi-dimensional Array rendered as an HTML table.</b> 25 <p> 26 <table border="1"> 27 <netui-data:repeater dataSource="{pageContext.multiDimArr}"> 28 <tr> 29 <netui-data:repeater dataSource="{container.item}"> 30 <td><netui:label value="{container.item}" /></td> 31 </netui-data:repeater> 32 </tr> 33 </netui-data:repeater> 34 </table> 35 36 <p><a href="index.jsp">Back to Repeater Samples Home</a> 37 </body> 38 </netui:html>`