Re: accessing DataSource from custom tag

2002-11-05 Thread Andrew
2803?v=glance > > > > > > Mike Way <[EMAIL PROTECTED]> on 11/05/2002 06:04:22 AM > > Please respond to "Struts Users Mailing List" > <[EMAIL PROTECTED]> > > To:"Struts Users Mailing List" <[EMAIL PROTECTED]> &g

Re: accessing DataSource from custom tag

2002-11-05 Thread Kevin . Bedell
5912803?v=glance Mike Way <[EMAIL PROTECTED]> on 11/05/2002 06:04:22 AM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To:"Struts Users Mailing List" <[EMAIL PROTECTED]> cc: (bcc: Kevin Bedell/Systems/USHO/Su

Re: accessing DataSource from custom tag

2002-11-05 Thread Mike Way
Andrew, pageContext.getServletContext().getAttribute( But, do you really want to do this ? Mike At 02:53 05/11/2002 -0800, you wrote: is there any way to access the DataSource defined in struts-config.xml from within a custom tag. i usually get it from the ActionServlet context attribut

accessing DataSource from custom tag

2002-11-05 Thread Andrew
is there any way to access the DataSource defined in struts-config.xml from within a custom tag. i usually get it from the ActionServlet context attribute Action.DATA_SOURCE_KEY from within an Action. but its not defined in the pageContext of a tag, so i assume its not easy to do, though i saw i