Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to access session from different context  RSS feed

 
devikumar donthamsetti
Greenhorn
Posts: 4
Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have one session created in one context. I need to use it in jsp which is in another context. I am getting it as null. Can someone help me in this.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The whole purpose of a session is to be isolated to a particular user within a particular context.

Perhaps you should tell us what you are actually trying to accomplish rather than how you are trying to accomplish it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!