Sample Application JSP Page

This is the output of a JSP page that is part of the Hello, World application. It displays several useful values from the request we are currently processing.

Current Server Date/time: <%= new java.util.Date() %>
Local PC date and time:
(According to JavaScript)
Context Path: <%= request.getContextPath() %>
Path Information: <%= request.getPathInfo() %>
Query String: <%= request.getQueryString() %>
Request Method: <%= request.getMethod() %>
Servlet Path: <%= request.getServletPath() %>

This and other examples are available at: