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 scope Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring 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