| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| --> |
| <%@page contentType="text/html"%> |
| <%@page pageEncoding="UTF-8"%> |
| <%-- |
| The taglib directive below imports the JSTL library. If you uncomment it, |
| you must also add the JSTL library to the project. The Add Library... action |
| on Libraries node in Projects view can be used to add the JSTL 1.1 library. |
| --%> |
| <%-- |
| <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> |
| --%> |
| |
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| "http://www.w3.org/TR/html4/loose.dtd"> |
| |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>JSP Page</title> |
| </head> |
| <body> |
| |
| <h1>JSP Page</h1> |
| |
| <%-- |
| This example uses JSTL, uncomment the taglib directive above. |
| To test, display the page like this: index.jsp?sayHello=true&name=Murphy |
| --%> |
| <%-- |
| <c:if test="${param.sayHello}"> |
| <!-- Let's welcome the user ${param.name} --> |
| Hello ${param.name}! |
| </c:if> |
| --%> |
| |
| </body> |
| </html> |