220N/A<%@page pageEncoding="UTF-8"%>
220N/A DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
220N/A Copyright (c) 2009 Sun Microsystems, Inc. All Rights Reserved.
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 You can obtain a copy of the License at
220N/A See the License for the specific language governing
220N/A permission and limitations under the License.
220N/A When distributing Covered Code, include this CDDL
220N/A Header Notice in each file and include the License file
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/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.
417N/A<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<meta http-equiv="Content-Type" content="
text/html; charset=UTF-8" />
<title>Stock Quote Client Sample</title>
<h1>Stock Quote Client Sample</h1>
<form name="GetQuote" action="GetQuote" method="GET">
Stock Symbol: <input type="text" name="symbol" value="JAVA" size="12" />
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>
<p><input type="button" value="GetQuote" name="quote" onClick="submitForm()"/>
<p><input type="submit" value="FAMConsole"/>