Try in your doStartTag
HttpSession ss = pageContext.getSession();



|--------+-------------------------------->
|        |          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)

Peter Giannopoulos.vcf

Reply via email to