This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes scope Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "scope" Watch "scope" New topic
Author

scope

Ben Klug
Ranch Hand

Joined: Jan 28, 2002
Posts: 45
hi,
how can i share a bean of a session with a servlet, Like I do it in a jsp? In the jsp it lookes like that:

Thanks!
Ben
Ruud Steeghs
Ranch Hand

Joined: Jul 09, 2001
Posts: 56
you can set attributes in your session (request and application) by calling setAttribute(String name, Object object).
HttpSession can be obtained from the request.
Ruud.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: scope
 
Similar Threads
is this good for logout page
useBean + code generation
There is any difference between the two code?
JSP Session scope object
Stateful Session Bean