This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Thanks for answering. In the case (2), say in my first application I created a session and then redirected the request to different application. So you mean to say that I cannot access the session attributes here? Please explain. But within a timeout period if I redirect my request from this application to the one where I created a session what happens in that case, will I be able to access the session and session attributes back again?
In the time you waited for this post, you could have easily tested this. Once thing you will find is that if you are not willing to put in your own effort, you cannot expect others to put in more effort than you yourself are willing to expend.