A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jan 28, 2002
May 27, 2003 05:05:00
how can i share a bean of a session with a
, Like I do it in a
? In the jsp it lookes like that:
<jsp:useBean id="abc" class="abc.class" scope="session" />
Joined: Jul 09, 2001
May 27, 2003 05:52:00
you can set attributes in your session (request and application) by calling setAttribute(
name, Object object).
HttpSession can be obtained from the request.
I agree. Here's the link:
is this good for logout page
useBean + code generation
Stateful Session Bean
There is any difference between the two code?
JSP Session scope object
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015