First, Struts is Web Framework only that it's not have abilities to access data in database BUT if you want to access database , you can use DAO, Persistent Framework such as hibernate, iBatis ...etc...
What's "Persistent Framework ?"
A persistence framework moves the program data in its most natural form (in memory objects) to and from a permanent data store the database. The persistence framework manages the database and the mapping between the database and the objects. There are many persistence framework (both Open Source and Commercial) in the market. Persistence framework simplifies the development process.
SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand