# LastName.jsp Sample

This topic inludes the source code for the LastName.jsp Sample.

## Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebApp/handlingData/dataFlow/

## Sample Source Code

`01 <%@page contentType="text/html;charset=UTF-8" language="java"%> 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 06 <html> 07 <head> 08 <netui:base/> 09 <link href="../../resources/css/style.css" type="text/css" rel="stylesheet"/> 10 </head> 11 <body> 12 <jsp:include page="/resources/jsp/header.jsp"/> 13 <blockquote> 14 <h3>Last Name</h3> 15 <p>Enter a last name.</p> 16 <netui:form action="lastNameAction" focus="lastname"> 17 <table border="0"> 18 <tr> 19 <td> 20 First Name: <netui:label value="{pageFlow.pageFlowScopedBean.firstname}" /> 21 </td> 22 </tr> 23 <tr> 24 <td> 25 Please enter your last name: <netui:textBox dataSource="{pageFlow.pageFlowScopedBean.lastname}" /> 26 </td> 27 </tr> 28 <tr> 29 <td> 30 <netui:imageAnchor action="lastNameAction" src="../../resources/images/blue_next.gif" formSubmit="true" border="0" align="right" /> 31 </td> 32 </tr> 33 </table> 34 </netui:form> 35 </blockquote> 36 </body> 37 </html>`