7331N/A DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
7331N/A Copyright (c) 1997-2010 Oracle
and/or its affiliates. All rights reserved.
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 language governing permissions and limitations under the License.
7331N/A When distributing the software, include this License Header Notice in each
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 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 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<%@page pageEncoding="UTF-8"%>
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<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
7331N/A <title>JPA Servlet Test</title>
7331N/A <h1>Hello-Java Persistence API Finder Test</h1>
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