R: implicit object servlet

2002-05-07 Thread Alessio Fiore

I think you're talking about struts...
AFAIK a taglibrary is not directly related to a servlet, but a tag handler
has access to the request, where struts sets an attribute for each
datasource, which name is corrisponding to datasource's key attribute:

HttpServletRequest req = (HttpServletRequest)(pageContext.getRequest());
DataSource ds =
(DataSource)(req.getAttribute(your-datasource-key-attribute-value));

Regards
Alessio


-Messaggio originale-
Da: rainer jünger [mailto:[EMAIL PROTECTED]]
Inviato: lunedì 6 maggio 2002 21.27
A: Tomcat Users List
Oggetto: implicit object servlet


Hi,

what is the equivalent implicit object to servlet within a Taglib-class?
I want to use the methode:
servlet.findDataSource(null)
in a Taglib-class

thanks Rainer



- Disclaimer -
This email and any attachments thereto may contain information which is
confidential and/or protected by intellectual property rights and are
intended for the sole use of the recipient(s) named above. Any use of the
information contained herein (including, but not limited to, total or
partial reproduction, communication or distribution in any form) or the
taking of any action in reliance on the contents, by persons other than the
designated recipient(s) is strictly prohibited.

If you have received this email in error, please notify the sender either by
telephone or by email and delete the material from any computer.

Thank you for your cooperation. 



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




implicit object servlet

2002-05-06 Thread rainer jünger

Hi,

what is the equivalent object to servlet within a Taglib-class?
I want to use the methode:
servlet.findDataSource(null)
in a Taglib-class

thanks Rainer



implicit object servlet

2002-05-06 Thread rainer jünger

Hi,

what is the equivalent implicit object to servlet within a Taglib-class?
I want to use the methode:
servlet.findDataSource(null)
in a Taglib-class

thanks Rainer