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 it mentioned, but not fully explained, in a thread on this list (Subject: RE: Urgent : Any Example which will show <htlm:select > <html:option> tag). my goal is to write a simple tag that downloads a list of countries from a database table as an ArrayList, adds it to the session so i can put it into an <html:select>. if there is a better approach, please let me know. thanks, andrew. __________________________________________________ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

