• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1773
  • Last Modified:

Connect Database to Struts!

I am writting a project by Struts but how to connect Database in Struts Framework. Design or solution ?
Thanks.
0
khoa235
Asked:
khoa235
2 Solutions
 
fargoCommented:
getting database connection is not struts specific. you should most probably think of using the connection pooling for maintaing the connections

here is a good explanation of JDBC connection pooling and it's basics
http://pdf.coreservlets.com/CSAJSP-Chapter18.pdf

here u will get all the examples to connect to the db with jdbc drivers
http://javaalmanac.com/egs/java.sql/pkg.html#Connections

let us know if u have any questions.
0
 
olgavillamizarCommented:
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now