I am new to struts and got stuck in a situation.
I am using struts 2 and want to cofigure mysql datbase with my application.
But i am not able to connect.
Kindly guide me with an example which help me in writing config file for struts and
action class for accessing database.
I want to use only struts 2 framework and not not anyother like spring,hibernate.
So please help me out with some example so that i can understand the concept.