# 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/

## Sample Source Code

`01 <%@ page language="java" contentType="text/html;charset=UTF-8"%> 02 <%@ taglib uri="netui-tags-html.tld" prefix="netui" %> 03 <%@ page import="weblogic.Home"%> 04 <% 05 String strBaseHelp = "file://" + Home.getPath(); 06 strBaseHelp = strBaseHelp.substring(0, strBaseHelp.lastIndexOf("/")); 07 strBaseHelp += "/workshop/help/doc/" + Locale.getDefault().getLanguage() + "/workshop/"; 08 %> 09 <html> 10 <head> 11 <title>Web Application Samples Home</title> 12 <link href="resources/css/style.css" type="text/css" rel="stylesheet"/> 13 <netui:base/> 14 </head> 15 <body> 16 <jsp:include page="/resources/jsp/header.jsp"/> 17 <table border="0"> 18 <tr> 19 <td> 20 <netui:image align="right" src="resources/images/catch1.jpg" 21 width="119" height="133" vspace="10" border="0"/> 22 <p>&nbsp;</p> 23 <h3>Web Application Samples Home</h3> 24 <p>This page provides links to samples that demonstrate 25 page flow and JSP features. You can find the source files for these 26 samples at [BEA_HOME]/weblogic81/samples/workshop/SamplesApp/WebApp/...</p> </td> 27 </tr> 28 <tr valign="top"> 29 <td valign="top"> 30 <hr> 31 <p><netui:anchor action="toNavigation"><b>Navigation</b></netui:anchor></p> 32 <p>These features show how to handle navigation. 33 <p>Source code location: SamplesApp/WebApp/navigation/</p></td> 34 </tr> 35 <tr valign="top"> 36 <td valign="top"> 37 <hr> 38 <p><netui:anchor action="toHandlingData"><b>Handling Data</b></netui:anchor></p> 39 <p>These samples show how to submit, process, and display data 40 using Page Flow technology. 41 <p>Source code location: SamplesApp/WebApp/handlingData/</p></td> 42 </tr> 43 <tr valign="top"> 44 <td valign="top"> 45 <hr> 46 <p><netui:anchor action="toControls"><b>Using Controls</b></netui:anchor></p> 47 <p>These samples show how to connect to data resources using controlss. 48 <p>Source code location: SamplesApp/WebApp/controls/</p></td> 49 </tr> 50 <tr valign="top"> 51 <td valign="top"> 52 <hr> 53 <p><netui:anchor action="toSecurity"><b>Security</b></netui:anchor></p> 54 <p>Security 55 <p>Source code location: SamplesApp/WebApp/security/</p></td> 56 </tr> 57 <tr> 58 <td valign="top"> 59 <hr> 60 <p><netui:anchor action="toStruts"><b>Struts</b></netui:anchor></p> 61 <p>Shows Struts features...</p> 62 <p>Source code location: SamplesApp/WebApp/struts/</td> 63 </tr> 64 <tr> 65 <td valign="top"> 66 <hr> 67 <p><netui:anchor action="toTagSamples"><b>&lt;netui...> Tag Samples</b></netui:anchor></p> 68 <p>Shows the different tags 69 <p>Source code location: SamplesApp/WebApp/tagSamples/</p></td> 70 <td></td> 71 </tr> 72 </table> 73 </body> 74 </html>`