index.jsp revision ada1678a4262b208a7b87391f520a7767d25287c
4bff34e37def8a90f9194d81bc345c52ba20086athurlow<%--
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow The contents of this file are subject to the terms of either the GNU
4bff34e37def8a90f9194d81bc345c52ba20086athurlow General Public License Version 2 only ("GPL") or the Common Development
4bff34e37def8a90f9194d81bc345c52ba20086athurlow and Distribution License("CDDL") (collectively, the "License"). You
4bff34e37def8a90f9194d81bc345c52ba20086athurlow may not use this file except in compliance with the License. You can
4bff34e37def8a90f9194d81bc345c52ba20086athurlow obtain a copy of the License at
4bff34e37def8a90f9194d81bc345c52ba20086athurlow https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
4bff34e37def8a90f9194d81bc345c52ba20086athurlow or packager/legal/LICENSE.txt. See the License for the specific
4bff34e37def8a90f9194d81bc345c52ba20086athurlow language governing permissions and limitations under the License.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow When distributing the software, include this License Header Notice in each
4bff34e37def8a90f9194d81bc345c52ba20086athurlow file and include the License file at packager/legal/LICENSE.txt.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow GPL Classpath Exception:
4bff34e37def8a90f9194d81bc345c52ba20086athurlow Oracle designates this particular file as subject to the "Classpath"
4bff34e37def8a90f9194d81bc345c52ba20086athurlow exception as provided by Oracle in the GPL Version 2 section of the License
4bff34e37def8a90f9194d81bc345c52ba20086athurlow file that accompanied this code.
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross
4bff34e37def8a90f9194d81bc345c52ba20086athurlow Modifications:
12b65585e720714b31036daaa2b30eb76014048eGordon Ross If applicable, add the following below the License Header, with the fields
12b65585e720714b31036daaa2b30eb76014048eGordon Ross enclosed by brackets [] replaced by your own identifying information:
4bff34e37def8a90f9194d81bc345c52ba20086athurlow "Portions Copyright [year] [name of copyright owner]"
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow Contributor(s):
4bff34e37def8a90f9194d81bc345c52ba20086athurlow If you wish your version of this file to be governed by only the CDDL or
4bff34e37def8a90f9194d81bc345c52ba20086athurlow only the GPL Version 2, indicate your decision by adding "[Contributor]
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross elects to include this software in this distribution under the [CDDL or GPL
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross Version 2] license." If you don't indicate a single choice of license, a
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross recipient has the option to distribute your version of this file under
4bff34e37def8a90f9194d81bc345c52ba20086athurlow either the CDDL, the GPL Version 2 or to extend the choice of license to
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross its licensees as provided above. However, if you add GPL Version 2 code
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross and therefore, elected the GPL Version 2 license, then the option applies
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross only if the new code is made subject to such option by the copyright
12b65585e720714b31036daaa2b30eb76014048eGordon Ross holder.
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head><title>Hello</title></head>
<body bgcolor="white">
<img src="images/duke.waving.gif">
<fmt:requestEncoding value="UTF-8"/>
<fmt:setBundle basename="LocalStrings" var="resourceBundle" scope="page"/>
<h2><fmt:message key="greeting_message" bundle="${resourceBundle}"/></h2>
<form method="get">
<input type="text" name="username" size="25">
<p></p>
<input type="submit" value="Submit">
<input type="reset" value="Reset">
</form>
<c:if test="${not empty param['username']}">
<%@include file="response.jsp" %>
</c:if>
</body>
</html>