Skip to content

expressions.jsp


<!DOCTYPE html">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta name="generator" content="HTML Tidy, see www.w3.org" />

    <title>JSP Expressions</title>
  </head>

  <body>
    <h3>JSP Expressions</h3>

    <ul>
      <li>Current time: <%= new java.util.Date() %></li>

      <li>Server: <%= application.getServerInfo() %></li>

      <li>Session ID: <%= session.getId() %></li>

      <li>The <code>testParam</code> form parameter: 
          <%= request.getParameter("testParam") %></li>
    </ul>

    <p><a href="/java112">Home</a></p>
  </body>
</html>