aspose file tools*
The moose likes Servlets and the fly likes JSP Session scope object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP Session scope object" Watch "JSP Session scope object" New topic
Author

JSP Session scope object

Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238
Hi,

I read 'JSP Session scope object available to any JSP Page or Servlet within the same session'. How to know say a servlet is within the same session scope as a given jsp. Any ideas, suggestions, links, resoureces, sample code highly appreciated. Thanks in advance.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60041
    
  65

Please take the time to choose the correct forum for your posts. This post has been moved to a more appropriate forum.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60041
    
  65

If you set an object into the session in one resource and it's available in the other, they are in the same session. Otherwise, not.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP Session scope object
 
Similar Threads
session, mock, p 274 - 7 c - is correct?
How To Get a List Object with Request?
jsp:useBean query!
page vs pageContext
Scope of a servlet