ShowName.jsp Sample

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

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             showName.jsp
09         </title>
10         <link href="/WebApp/resources/css/style.css" type="text/css" rel="stylesheet"/> 
11     </head>
12     <body>
13         <jsp:include page="/resources/jsp/header.jsp"/>
14         <blockquote>
15         <h3>Simple Data Submission Sample</h3>
16         <p>
17         Here is the data you submitted: <netui:label value="{request.name}" />
18         </blockquote>
19         <hr>
20         <netui:anchor href="../handlingDataController.jpf">Back to Navigation Samples</netui:anchor>
21     </body>
22 </netui:html>