Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to connect mysql database using struts 1.2

 
hem raj
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thnaks...... got solution
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic