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/security/formBasedLogin/formBasedLoginFlow/

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>
09             Form Based Login 
10         </title>
11         <link href="/WebApp/resources/css/style.css" type="text/css" rel="stylesheet"/>
12     </head>
13     <body>
14         <jsp:include page="/resources/jsp/header.jsp"/> 
15         <h3>Form Based Login Sample</h3>
16         <p>
17         Welcome, <%=request.getRemoteUser()%>.  You have successfully logged in.</p>
18         <p>
19         <netui:anchor action="doLogoutSamplesHome">Log out and return to Security Samples Home</netui:anchor>
20     </body>
21 </netui:html>