FW: Database Assistance Needed

2005-04-16 Thread Folashade Adeyosoye
= configuration DBoptions = DB options etc All you have to do is change the system.properties to fit your need and compile. -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Friday, April 15, 2005 4:56 PM To: user@struts.apache.org Subject: Database Assistance Needed

Database Assistance Needed

2005-04-15 Thread Scott Purcell
I have had some issues this past week, trying to come up with a way to cleanly connect to my, MySQL database. I know this is not necessarily a struts issue, but I am betting that there is no one on this list who is not using some type of database in the back-end. Now I have the O'Reilly book

Re: Database Assistance Needed

2005-04-15 Thread Erik Weber
JNDI *is* the way to go. See the Tomcat doc on configuring a DataSource (cited below). I use Tomcat 5.0, but I will not buy it that the examples don't work because I have followed the Tomcat documentation many times with success (including MySQL). Then write a simple Java class that acts as a