tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerald Powel <geraldpo...@yahoo.co.uk>
Subject encodeURL / jsessionid
Date Wed, 25 Feb 2004 05:36:18 GMT

Hi, 

     I wish to maintain state across contexts and have in app1:

<% request.getSession().setAttribute("id","2004073258"); %>

<a href="<%= response.encodeURL("../app2/index.jsp") %>">app2</a>

when app2 is loaded the jsessionid is visible in the address bar:

http://localhost:8086/app2/index.jsp;jsessionid=7DD63005E4142E8C75A2E75CBAC0534

Now what do I do with it? How do I access data set on the session on the previous context?

Thanks a lot

G.

 

 

		
---------------------------------
  Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger
Now
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message