geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purdticker <>
Subject Re: Injecting EJB directly into a JSP
Date Wed, 02 Jul 2008 18:27:56 GMT

So what's the recommended solution to pulling data from database and giving
that ResultSet to jsp?  Currently, I'm using struts, I'd like to be able to
access my datasource from the action class and throw it in

However, I can't inject ejb into action class. I also can't seem to inject
the datasource into action class...

	DataSource ds;

So how do I access my datasource from action class?  If geronimo doesn't
support this, what is recommended method?  I can't just create servlets for
View this message in context:
Sent from the Apache Geronimo - Users mailing list archive at

View raw message