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