If your problem is that you have database-related code in your Action classes, what is the solution?
Move that database-related code somewhere else.
Basically, you can simply create a new class named DatabaseStuff and give it methods like createProductOrder(), findProducts(), etc. for each piece of
JDBC code you have in your Action classes.
The DAO pattern is just a common solution for such restructuring.