You are on page 1of 1

<HTML> <HEAD><TITLE>Cluster - Ha JSP Sample </TITLE></HEAD> <BODY BGCOLOR="white"> <H1>Cluster - HA JSP Sample </H1> <B>HttpSession Information:</B> <UL> <LI>Served

From Server: <b>10.10.16.85</b></LI> <LI>Server Port Number: <b>8080</b></LI> <LI>Executed From Server: <b>dc-erp-app1.esic.in</b></LI> <LI>Served From Server instance: <b>dc-erp-app1-instance1</b></LI> <LI>Executed Server IP Address: <b>10.10.16.85</b></LI> <LI>Session ID: <b>c917a53b7684be21c24f4aa3e1ac</b></LI> <LI>Session Created: Thu Sep 15 15:41:05 IST 2011</LI> <LI>Last Accessed: Thu Sep 15 15:41:05 IST 2011</LI> <LI>Session will go inactive in <b>1800 seconds</b></LI> </UL> <BR> <B> Enter session attribute data: </B><BR> <FORM ACTION="HaJsp.jsp" METHOD="POST" NAME="Form1"> Name of Session Attribute: <INPUT TYPE="text" SIZE="20" NAME="dataName"> <BR> Value of Sesion Attribute: <INPUT TYPE="text" SIZE="20" NAME="dataValue"> <BR> <INPUT TYPE="submit" NAME="action" VALUE="ADD SESSION DATA"> <INPUT TYPE="submit" NAME="action" VALUE="RELOAD PAGE"> </FORM> <FORM ACTION="ClearSession.jsp" method="POST" name="Form2" > <INPUT TYPE="submit" NAME="action" VALUE="CLEAR SESSION"> </FORM> <HR><BR> <B>Data retrieved from the HttpSession: </B> <BR><BR> <HR> <B>INSTRUCTIONS</B> <UL> <LI>Add session data using the form. Upon pressing ADD SESSION DATA, the current session data will be listed.</LI> <LI>Click on RELOAD PAGE to display the current session data without adding new data.</LI> <LI>Click on CLEAR SESSION to invalidate the current session.</LI> </UL> </BODY> </HTML>

You might also like