On Tue, 29 Oct 2002, Josh Berry wrote: > My other stumbling block was in using a DataSource. I was able to setup the > DataSource using Struts, but was not happy with the way that it required doing > the database access actually in the Action classes. Instead, I was wanting > the action class to be a checklist. Basically, I try to keep my actions as a > simple series of calls into some business classes I wrote. In order to do > this, I went through the extra effort of setting up a JNDI dataSource in > Tomcat so that my business classes could all get to it. Was there another way > I should have done this? Does what I am saying make sense? >
This is how I go about it as well. I have a datasource set up in my container. I access that datasource using jndi, and do no do that in my Actions. This topic cycles through here every now and again. Try a search for "DAO" in the archives at http://nagoya.apache.org/eyebrowse/SearchList?listName=struts-user@;jakarta.apache.org I'm sure some useful threads on other people's approach will turn up. > And, finally, I know this is offtopic but does anyone have a good > recommendation for a free email client for windows that would allow me to view > "threaded" messages? As it is right now, I just get a long list of these > emails everytime I log in. In fact, this is one of the reasons I used to > avoid mailing lists, as it is less the comfortable to read. I believe mutt > would do what I want, but I can't use that during the day as I don't believe > it is available for windows. > I haven't used Eudora (www.qualcomm.com) in awhile, but there is a free version available if you want to deal with advertisements. I use pine, and there is a Windows version for that (http://www.washington.edu/pine/). I use FreeBSD, so I can only attest that the Unix version does threading and filtering just fine. I haven't tried the Windows version. --> stu: www.stuology.net It just no longer is plain simple safe fun when it's the psycho chimp that has the ray gun ------------------------------------------------ Stuology -- A million monkeys can't be wrong -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>