I don't think the homework for Session Tracking is go far enough to
illustrate the beauty of the J2EE Session Tracking, which should work
for either browser with cookie enable nor disable.  So I had added
couple steps to cover that gap.  Here are what I did:

- For index.jsp:
        <form action="<%
                out.print(response.encodeURL("response.jsp"));
        %>">

- For response.jsp:
        <a href="<%
                out.print(response.encodeURL(request.getContextPath()));
        %>">Back</a>

Note: this work for JBoss app server only, I could not make it work
with GlassFish.  Feed back is welcome!

Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to