AdminPage.jsp Sample
This topic inludes the source code for the AdminPage.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/roleBasedSecurity/
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 Administrators Page
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>Administrators Page</h3>
16 <blockquote>
17 <p>Welcome, <%=request.getRemoteUser()%>. You have successfully logged
18 in as a member of the Administrator role.
19 <p>
20 <netui:anchor action="doLogoutSamplesHome">Log out and return to the Security Samples</netui:anchor>
21 </blockquote>
22 </body>
23 </netui:html>
|