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/validation/
Sample Source Code
01 <%@ page language="java" contentType="text/html;charset=UTF-8"%>
02 <%@ taglib uri="netui-tags-html.tld" prefix="netui" %>
03
04 <html>
05 <head>
06 <netui:base/>
07 <title>Form Validation with Page Flows</title>
08 <link href="../../resources/css/style.css" type="text/css" rel="stylesheet"/>
09 </head>
10
11 <body>
12 <jsp:include page="/resources/jsp/header.jsp"/> <br/>
13
14 <blockquote>
15
16 <h3>Form Validation with Page Flows</h3>
17
18 <p>This sample shows two ways of doing form validation with page flows.
19 </p>
20
21 <ul type="square">
22 <li><netui:anchor action="doBasic">Basic form validation</netui:anchor><br><br></li>
23 <li><netui:anchor action="doValidator">Form validation using the Struts ValidatorPlugIn</netui:anchor></li>
24 </ul>
25
26 <p> </p>
27 <hr width="90%">
28 </blockquote>
29
30 <p><netui:anchor href="/WebApp/struts/strutsController.jpf">Return to Web Application Samples: Struts</netui:anchor>
31 </body>
32 </html>
|