Technically speaking, this is off-topic and marked as such.
Take a look at this for more info: http://struts.apache.org/faqs/database.html
On the surface, I see a missing type attribute on the <data-source> element and you should probably be using com.mysql.jdbc.Driver for the driver class property if you have a recent version of the mysql jar file.
--David
Yaroslav Alpizar Zhuravliov wrote:
Hi again...I´m new here...
I´ve these piece of code and can´t find the error in the struts-config.xml:
- <!-- ==================================== Data
Source Configuration --> - <data-sources>
- <data-source>
<set-property property="description" value="SCIWARE
Data Source Configuration to mySQL" /> <set-property property="driverClass"
value="org.gjt.mm.mysql.Driver" /> <set-property property="maxWait" value="10000" /> <set-property property="maxIdle" value="30" /> <set-property property="maxActive" value="100" /> <set-property property="url"
value="jdbc:mysql://localhost:3096/sciware?autoReconnect=true"
/> <set-property property="user" value="sciware" /> <set-property property="password" value="aest" /> </data-source>
</data-sources>
I checked the form-beans and the action-mapping and seems to be all right...
Any idea will appreciated...thanks
===== Yaroslav J. Alpízar Zhuravlev System Administrator Departament de Quimica UIB Universitat de les Illes Balears
"...go out there and see how deep the rabbit hole is..." Morpheus
__________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]