aspose 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
useBean + code generation
Stateful Session Bean
JSP Session scope object
There is any difference between the two code?
is this good for logout page