HttpSession session = pageContext.getSession();
if( session != null ) { UserBean ub = (UserBean)session.getAttribute(
"UserBean" ); }

Wes


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 31, 2001 1:32 PM
To: [EMAIL PROTECTED]
Subject: Re: JSP CUSTOM TAGS



Let me know when you find the solution to this.  We trying to do the same
thing.


|--------+-------------------------------->
|        |          Peter Giannopoulos    |
|        |          <Peter.GIANNOPOULOS@ge|
|        |          mplus.com>            |
|        |                                |
|        |          05/31/01 10:01 AM     |
|        |          Please respond to     |
|        |          tomcat-user           |
|        |                                |
|--------+-------------------------------->
 
>---------------------------------------------------------------------------
--------------------------------|
  |
|
  |       To:     [EMAIL PROTECTED]
|
  |       cc:
|
  |       Subject:     JSP CUSTOM TAGS
|
 
>---------------------------------------------------------------------------
--------------------------------|




Hello all,

Can anyone show me an example of accesing a session variable in a custom
tag?
Or at least point me towards documentation that explains it?

(I have an object that I store in a session variable, I need to retrieve in
one of my custom tags)


----------------------------------------------------------
 Peter Giannopoulos,            Software Designer
 Gemplus Software,              Advanced Projects Group

 Phone: +15147322434
 Fax:   +15147322401
 Gemplus Canada Inc.,     Http://www.gemplus.com



                     I hear and I forget,
                I see and I remember,
                I do and I understand.



-----------------------------------------------------------
(See attached file: Peter Giannopoulos.vcf)

Reply via email to