This week's book giveaway is in the Game Development forum.
We're giving away four copies of Badass: Making Users Awesome and have Kathy Sierra 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 Badass: Making Users Awesome this week in the Game Development 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