Page2.jsp Sample
This topic inludes the source code for the Page2.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/strutsMerge/
Sample Source Code
01 <%@ page contentType="text/html;charset=UTF-8" language="java" %>
02 <%@ taglib uri="netui-tags-html.tld" prefix="netui" %>
03
04
05 <html>
06 <head>
07 <netui:base/>
08 <title>Merging Struts Functionality with Page Flow</title>
09 <link href="../../resources/css/style.css" type="text/css" rel="stylesheet"/>
10 </head>
11
12 <body bgcolor=white style="margin:0">
13
14 <jsp:include page="/resources/jsp/header.jsp"/>
15
16 <blockquote>
17
18 <h3>StrutsMerge Sample - page2.jsp</h3>
19
20 <p>The global action named "fromStrutsConfig" resulted in the forward
21 from page1.jsp to page2.jsp, via the unknown handler. The global action
22 was defined in the /WEB-INF/all-struts-config-merge-example.xml file. At compile-time
23 it was incorporated into the strutsMerge page flow configuration:
24
25 <p>/WEB-INF/jpf-struts-config-strutsMerge.xml
26
27 <hr width=50% size=1>
28
29 <p> </p>
30
31 <p><netui:anchor action="begin">Re-run this sample</netui:anchor>
32
33 <p> </p>
34
35 <p><netui:anchor href="/WebApp/struts/strutsController.jpf">Return to Struts Samples</netui:anchor></p>
36
37 </blockquote>
38 </body>
39 </html>
|