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/shoppingCartLogin/shopping/
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 Shopping Cart
10 </title>
11 <link href="/WebApp/resources/css/style.css" type="text/css" rel="stylesheet"/>
12 </head>
13 <body>
14
15 <jsp:include page="/resources/jsp/header.jsp"/>
16 <h3>"Shopping Cart" Login Sample</h3>
17 <p>If you're currently logged in, clicking the link below will take you to the check out page.
18 <p>If you're not currently logged in, you will be taken to the login pages.
19 On a successful login, you will be taken to the check out page.
20 <blockquote>
21 <p><netui:anchor action="save">Proceed to Check out</netui:anchor>
22 </blockquote>
23 </body>
24 </netui:html>
|