struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Sherman <a...@tritus.ca>
Subject RE: Datasource
Date Tue, 25 Mar 2003 04:00:51 GMT
On 03/24/03 22:44:23 -0500 Mark Galbreath wrote:

> Well, this is getting interesting.  Why does "t - i - h - s" comes out
> "this?"
> err...pile of this...  (too many beers...not enough time...)
> err...pile of this....

Free Entertainment!

> I've read the literature and nothing seems definitive.  Apparently we can
> declare a data source by:
>
> 1.  Declaring it in struts-config;
>
> 2.  Declaring it in the container app;
>
> 3.  Declaring it in the source code;
>
> 4.  Declaring it in the deployment descriptor;
>
> 5.  Declaring it in the EJB deployment descriptor.

1. AFAIK, Struts Datasources are "true" datasources.
2. The Right Way(TM)
3. The Wrong Way(TM)
4. Actually, you need to declare a reference to 2 here. Not the actual 
Datasource
5. See 4.

That help at all?

Thanks,

A.


--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message