# 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/security/shoppingCartLogin/login/

## 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 <netui:html> 07 <head> 08 <title>Login</title> 09 </head> 10 <body> 11 <h3>Login</h3> 12 13 <font color="Red"> 14 <netui:exceptions /> 15 </font> 16 17 <netui:form action="doLogin"> 18 <table class="tablebody"> 19 <tr class="tablehead"> 20 <td> 21 Username: 22 </td> 23 <td> 24 <netui:textBox dataSource="{actionForm.username}"/> 25 </td> 26 </tr> 27 <tr class="tablehead"> 28 <td> 29 Password: 30 </td> 31 <td> 32 <netui:textBox dataSource="{actionForm.password}" password="true"/><br> 33 <font style="font-size:8pt;">[username: "weblogic" / password: "weblogic" is a valid test user.]</font> 34 </td> 35 </tr> 36 </table> 37 <br/> 38 &nbsp; 39 <netui:button value="Submit"/> 40 <netui:button value="Cancel" action="cancel"/> 41 </netui:form> 42 </body> 43 </netui:html>`