aspose file tools
The moose likes Servlets and the fly likes Session Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Session Bean" Watch "Session Bean" New topic

Session Bean

Sean Casey
Ranch Hand

Joined: Dec 16, 2000
Posts: 625
I'm having trouble trying to create a bean in a servlet and then putting it in the session scope. Could someone tell me how to do this. I would be very grateful.
Manohar Karamballi
Ranch Hand

Joined: Jul 17, 2001
Posts: 227
Hai Sean!
ValueBean objBean=new ValueBean();
//Set values here
//Keep it in session
Is it the samething that u wnated...
It is sorta covered in the JavaRanch Style Guide.
subject: Session Bean
jQuery in Action, 3rd edition