index.jsp revision 8bb3e4cda81612f01c0254c263155f65506a018c
10139N/A<%@page contentType="text/html"%>
10139N/A<%@page pageEncoding="UTF-8"%>
10139N/A<%--
12189N/A DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
10139N/A
10139N/A Copyright (c) 2009 Sun Microsystems, Inc. All Rights Reserved.
10139N/A
17185N/A The contents of this file are subject to the terms
10139N/A of the Common Development and Distribution License
11377N/A (the License). You may not use this file except in
17177N/A compliance with the License.
17177N/A
10139N/A You can obtain a copy of the License at
15311N/A https://opensso.dev.java.net/public/CDDLv1.0.html or
10139N/A opensso/legal/CDDLv1.0.txt
18280N/A See the License for the specific language governing
10139N/A permission and limitations under the License.
10139N/A
10139N/A When distributing Covered Code, include this CDDL
10139N/A Header Notice in each file and include the License file
17717N/A at opensso/legal/CDDLv1.0.txt.
12773N/A If applicable, add the following below the CDDL Header,
12773N/A with the fields enclosed by brackets [] replaced by
12773N/A your own identifying information:
17717N/A "Portions Copyrighted [year] [name of copyright owner]"
17717N/A
18119N/A $Id: index.jsp,v 1.2 2010/01/11 07:05:45 nithyas Exp $
18119N/A--%>
10139N/A
10139N/A<%--
10139N/AThe taglib directive below imports the JSTL library. If you uncomment it,
10139N/Ayou must also add the JSTL library to the project. The Add Library... action
10139N/Aon Libraries node in Projects view can be used to add the JSTL 1.1 library.
10139N/A--%>
10139N/A<%--
10139N/A<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
10139N/A--%>
10139N/A
10139N/A<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
10139N/A "http://www.w3.org/TR/html4/loose.dtd">
10139N/A
10139N/A<html>
10139N/A <head>
10139N/A <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
10139N/A <title>Stock Quote Client Sample</title>
10139N/A </head>
17664N/A <body>
16008N/A
10139N/A <script type="text/javascript">
10139N/A function submitForm()
10139N/A {
10139N/A document.GetQuote.submit();
10139N/A }
10139N/A </script>
10139N/A <h1>Stock Quote Client Sample</h1>
10139N/A
10139N/A <form name="GetQuote" action="GetQuote" method="GET">
10139N/A Stock Symbol: <input type="text" name="symbol" value="JAVA" size="12" />
10139N/A <p>
10139N/A Signature Method: <select name="sig" id="sig" size="3" >
10139N/A <option value="HMAC-SHA1" SELECTED>HMAC-SHA1</option>
10139N/A <option value="RSA-SHA1">RSA-SHA1</option>
10139N/A <option value="PLAINTEXT">PLAINTEXT</option>
10139N/A </select>
10139N/A <p><input type="button" value="GetQuote" name="quote" onClick="submitForm()"/>
10139N/A </form>
10139N/A<!--
10139N/A <p><hr>
10139N/A <form name="FAMConsole" action="/openam/console" method="GET">
17919N/A Click <a href="/openam/console">here</a> to view OpenAM Console
18119N/A <p><input type="submit" value="FAMConsole"/>
10139N/A </form>
10139N/A-->
10139N/A
10139N/A </body>
10139N/A</html>
10139N/A