# Tree.jsp Sample

This topic inludes the source code for the Tree.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/tree_dynamic/

## Sample Source Code

`01 <%@ taglib uri="netui-tags-html.tld" prefix="netui" %> 02 <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%> 03 <html> 04 <head> 05 <title>Tree Tag</title> 06 <!--netui:base /--> 07 </head> 08 <body bgcolor="#ccffcc"> 09 <netui:tree tree="{pageFlow._rootNode}" action="treeState" imageRoot="treeImages"/> 10 <hr /> 11 <netui:anchor target="_top" href="/WebApp/tagSamples/tagSamplesController.jpf" style="font-size:8pt;color:#ff0000;">Return to Tag Samples</netui:anchor> 12 </body> 13 </html>`