Thankyou.jsp Sample

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

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>Thank You!</title>
09   </head>
10   <body>
11         <jsp:include page="/resources/jsp/header.jsp"/><br>
12         <h3>You Successfully Entered:</h3>
13         <p>
14         Last Name:
15         <netui:label value="{request.customerForm.customer.lastName}"></netui:label>
16         </p>
17         <p>
18         First Name:
19         <netui:label value="{request.customerForm.customer.firstName}"></netui:label>
20         </p>
21         <p>
22         Coupon Number:
23         <netui:label value="{request.customerForm.couponNumber}"></netui:label>
24         </p>
25         <hr>
26         <p><netui:anchor action="begin">Re-run this sample</netui:anchor>
27         <p><netui:anchor href="/WebApp/handlingData/handlingDataController.jpf">
28         Back to Handling Data Samples</netui:anchor>
29   </body>
30 </netui:html>