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