File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Soft Skills this week in the Jobs Discussion 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: 61755
    
  67

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: 61755
    
  67

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