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