JSP1.2
A container calls setPageContext on your tag-impl. prior to doStartTag
Store this context and call:
getAttribute(<yourName>, PageContext.SESSION_SCOPE)

<yourName> is the name you previously specified for your bean.

Peter



----- Original Message -----
From: Jon Breen <[EMAIL PROTECTED]>
Date: Monday, December 10, 2001 3:20 pm
Subject: Access To JSP-Session Beans from Tag Library

> Is it possible, with the current Tag-library architecture, to have
> access to Beans, declared in the JSP with Session scope?
>
> Tags are great, but I can't seem to find any details on persistent
> objects within them. Any pointers? [or object references?]
>
> Also, can anyone recommend a nice Regular Expression package for
> Java...preferably free, but mightily preferable if it conforms to
> the JDK1.4
> Regular Expression Interfaces/Methods so when 1.4 is out, proper-
> guv, I
> can swap the import
>
> Thanks in advance
>
>
> Jon Breen
> Developer
>
>
>
> LINE Communications Group Ltd
> http://www.line.co.uk
> Switchboard           44-(0)20 8735 2500
> Fax                          44-(0)20 8735 2501
>
> CONFIDENTIALITY NOTICE AND LEGAL LIABILITY WAIVER: The content of this
> email is intended only for the person or entity to which it is
> addressedand its email attachments are CONFIDENTIAL and may
> contain privileged
> information. Any review, retransmission, dissemination or other
> use of,
> or taking of any action as reliance upon this information by
> persons or
> entities other than the intended recipient is unlawful.
> If you are not the addressee it may be UNLAWFUL for you to read, copy,
> distribute, disclose or otherwise use the information contained
> herein.The content of the message and or attachments may not
> reflect the view
> and opinions of the originating company or any party it is
> representing.If you are NOT the intended recipient then please
> email back to the
> sender and delete the material from any computer and destroy all
> and any
> printed copies.
>
>
________________________________________________________________________
___
> To unsubscribe, send email to [EMAIL PROTECTED] and include in
> the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http:
> Resources: http://java.sun.com/products/servlet/external-
> resources.htmlLISTSERV Help:
> http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to