title: How do I store a value in session that has to be later accessed upon a callback request from a 3rd party site?
body: <p>I want to store a variable in session data, in a servlet. The servlet redirects the user to a 3rd party site, and from the 3rd party site user is sent to JSP page in same web app. I want to access a session variable stored by servlet (before redirection to 3rd party site) in the JSP. How do I store such an object in servlet? And how do I access that object from JSP file?</p>