index.jsp
Upload User: shen332233
Upload Date: 2021-09-03
Package Size: 7478k
Code Size: 1k
Category:

Ajax

Development Platform:

Java

  1. <%@page contentType="text/html"%>
  2. <%@page pageEncoding="UTF-8"%>
  3. <%--
  4. The taglib directive below imports the JSTL library. If you uncomment it,
  5. you must also add the JSTL library to the project. The Add Library... action
  6. on Libraries node in Projects view can be used to add the JSTL 1.1 library.
  7. --%>
  8. <%--
  9. <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
  10. --%>
  11. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  12.    "http://www.w3.org/TR/html4/loose.dtd">
  13. <html>
  14.     <head>
  15.         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  16.         <title>JSP Page</title>
  17.     </head>
  18.     <body>
  19.     <h1>JSP Page</h1>
  20.     
  21.     <%--
  22.     This example uses JSTL, uncomment the taglib directive above.
  23.     To test, display the page like this: index.jsp?sayHello=true&name=Murphy
  24.     --%>
  25.     <%--
  26.     <c:if test="${param.sayHello}">
  27.         <!-- Let's welcome the user ${param.name} -->
  28.         Hello ${param.name}!
  29.     </c:if>
  30.     --%>
  31.     
  32.     </body>
  33. </html>