= 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
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
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
3 matches
Mail list logo