CGI interview question

Write code for the database connection tag <datasource> in struts framework?