*
The moose likes Struts and the fly likes how to connect mysql database using struts 1.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to connect mysql database using struts 1.2" Watch "how to connect mysql database using struts 1.2" New topic
Author

how to connect mysql database using struts 1.2

hem raj
Greenhorn

Joined: Apr 07, 2010
Posts: 11


hi

can anybody tell me how to connect mysql database with struts 1.2

i have make some code but it give's me error like : connection could not establish....

thanking you

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

The only way this is related to Struts is if you're using the deprecated datasource Struts config file element, which I'd recommend against.

But with no source or anything else usable to help you, that's about all anyone can say.
hem raj
Greenhorn

Joined: Apr 07, 2010
Posts: 11
thnaks...... got solution
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to connect mysql database using struts 1.2
 
Similar Threads
JTable question
database connection with struts!
mySql connection
Struts 1.2 - To Store Unicode data into database
JDBC