index.jsp revision ada1678a4262b208a7b87391f520a7767d25287c
7331N/A<%--
7331N/A
7331N/A DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
7331N/A
7331N/A Copyright (c) 1997-2010 Oracle and/or its affiliates. All rights reserved.
7331N/A
7331N/A The contents of this file are subject to the terms of either the GNU
7331N/A General Public License Version 2 only ("GPL") or the Common Development
7331N/A and Distribution License("CDDL") (collectively, the "License"). You
7331N/A may not use this file except in compliance with the License. You can
7331N/A obtain a copy of the License at
7331N/A https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
7331N/A or packager/legal/LICENSE.txt. See the License for the specific
7331N/A language governing permissions and limitations under the License.
7331N/A
7331N/A When distributing the software, include this License Header Notice in each
7331N/A file and include the License file at packager/legal/LICENSE.txt.
7331N/A
7331N/A GPL Classpath Exception:
7331N/A Oracle designates this particular file as subject to the "Classpath"
7331N/A exception as provided by Oracle in the GPL Version 2 section of the License
7331N/A file that accompanied this code.
7331N/A
7331N/A Modifications:
7331N/A If applicable, add the following below the License Header, with the fields
7331N/A enclosed by brackets [] replaced by your own identifying information:
7331N/A "Portions Copyright [year] [name of copyright owner]"
7331N/A
7331N/A Contributor(s):
7331N/A If you wish your version of this file to be governed by only the CDDL or
7331N/A only the GPL Version 2, indicate your decision by adding "[Contributor]
7331N/A elects to include this software in this distribution under the [CDDL or GPL
7331N/A Version 2] license." If you don't indicate a single choice of license, a
7331N/A recipient has the option to distribute your version of this file under
7331N/A either the CDDL, the GPL Version 2 or to extend the choice of license to
7331N/A its licensees as provided above. However, if you add GPL Version 2 code
7331N/A and therefore, elected the GPL Version 2 license, then the option applies
7331N/A only if the new code is made subject to such option by the copyright
7331N/A holder.
7331N/A
7331N/A--%>
7331N/A
7331N/A<%@page contentType="text/html"%>
7331N/A<%@page pageEncoding="UTF-8"%>
7331N/A<%--
7331N/AThe taglib directive below imports the JSTL library. If you uncomment it,
7331N/Ayou must also add the JSTL library to the project. The Add Library... action
7331N/Aon Libraries node in Projects view can be used to add the JSTL 1.1 library.
7331N/A--%>
7331N/A<%--
7331N/A<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
7331N/A--%>
7331N/A
7331N/A<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
7331N/A "http://www.w3.org/TR/html4/loose.dtd">
7331N/A
7331N/A<html>
7331N/A <head>
7331N/A <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7331N/A <title>JPA Servlet Test</title>
7331N/A </head>
7331N/A <body>
7331N/A
7331N/A <h1>Hello-Java Persistence API Finder Test</h1>
7331N/A <a href="/details/CustomerDetails"/>
7331N/A
7331N/A <%--
7331N/A This example uses JSTL, uncomment the taglib directive above.
7331N/A To test, display the page like this: index.jsp?sayHello=true&name=Murphy
7331N/A --%>
7331N/A <%--
7331N/A <c:if test="${param.sayHello}">
7331N/A <!-- Let's welcome the user ${param.name} -->
7331N/A Hello ${param.name}!
7331N/A </c:if>
7331N/A --%>
7331N/A
7331N/A </body>
7331N/A</html>
7331N/A