ShowData.jsp Sample
This topic inludes the source code for the ShowData.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/anchor/
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 showData.jsp
09 </title>
10 </head>
11 <body>
12 <jsp:include page="/resources/jsp/header.jsp"/> <br/>
13 <h3>Here is the data you submitted:</h3>
14 <p>
15 First Name: <netui:label value="{request.submittedData.firstname}"/><br>
16 Last Name: <netui:label value="{request.submittedData.lastname}"/>
17 </p>
18 <p><netui:anchor href="index.jsp">Return to the Anchor Sample Home Page</netui:anchor>
19 </body>
20 </netui:html>
|