Skip to content

Instantly share code, notes, and snippets.

@karanmalhi
Created December 6, 2011 22:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karanmalhi/1440233 to your computer and use it in GitHub Desktop.
Save karanmalhi/1440233 to your computer and use it in GitHub Desktop.
A simple index.jsp file which shows some session information
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Apache Tomcat Examples</TITLE>
<META http-equiv=Content-Type content="text/html">
</HEAD>
<BODY>
<h3>Session ID = <%=session.getId()%></h3>
<h3>Creation Time = <%=session.getCreationTime()%></h3>
</BODY></HTML>
@MHRunlv21
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment