You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Erik Price <ep...@ptc.com> on 2003/07/01 16:54:30 UTC
Re: using struts datasource from a servlet
Richard Raquepo wrote:
>>Another option would be to configure the DS in struts but register it with
>
> a
>
>>singleton (Service Locator) that can retrieve the datasource in your data
>>access classes.
>
>
> maybe you can give me some link about this? tutorials maybe? any code maybe?
> :p
As you wish:
<http://java.sun.com/blueprints/corej2eepatterns/Patterns/ServiceLocator.html>
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org