This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to connect mysql database using struts 1.2