title: Where should I setup a Database connection in Struts 2 app?
body: <p>I am developing a small web application using struts 2. I want to setup a database connection when the web application starts. After that, I want that database connection object to be used in the the entire web application to update records in the database server. </p>
  
  <p>Where should I include the database connection setup code in my struts2 web application ?</p>