how to connect html form feilds with mysql using hibernate,

like giving input through the html form storing data, and retriving data

kindly provide me simple example for those connection.

thanking you.