struts 2 and databases
If you are using Netbeans 6.x IDEs, then you can go for the netbeans site.
There you can find a no. of examples for Struts-database connections using different database application.
Please try for it...
Best of luck.