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/struts/

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:base />
06 <netui:html>
07     <head>
08         <title>
09             Web Application Samples: Struts
10         </title>
11         <link href="../resources/css/style.css" type="text/css" rel="stylesheet"/>
12     </head>
13     <body>
14         <jsp:include page="/resources/jsp/header.jsp"/> 
15         <h3>Page Flow Samples: Struts</h3>
16         <p>These samples show how use Struts features in a Page Flow.</p>
17         <blockquote>
18 
19         <hr>
20         <p><netui:anchor action="toStrutsInterop">Struts interoperation</netui:anchor>
21         <p>This sample shows how a Page Flow can interoperate with any Struts application.
22         <p>Source Code: SamplesApp/WebApp/struts/strutsInterop/
23         <hr>
24         <p><netui:anchor action="toStrutsMerge">Struts merging</netui:anchor>
25         <p>Shows how a Page Flow application can be merged with the functionality in a Struts application.
26         <p>Source Code: SamplesApp/WebApp/struts/strutsMerge/
27         <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: SamplesApp/WebApp/struts/strutsModule/
28         <hr>
29         <p><netui:anchor action="toValidation">Validating user data with Struts</netui:anchor>
30         <p>Source Code: SamplesApp/WebApp/struts/validation/
31         </blockquote>
32 
33         <hr>
34         <netui:anchor action="toPageFlowSamples">Back to Web Application Samples Home</netui:anchor>
35     </body>
36 </netui:html>