posted 10 years ago
Hi,
Create a package named DAO. And create a class named CompareDao.java
Below is the code for CompareDao.java
Here is the code for HibernatePlugin.java
and HibernateUtils.java
Action class will be the same Action class mentioned by you. Just add the following line to your Action class:
Hope it's clear to you now. If you have any confusions reply back to me.
Also I have answered your previous queries.
Regards,
Sandy
Take up one idea. Make that one idea your life; dream of it; think of it; live on that idea. Let the brain, the body, muscles, nerves, every part of your body be full of that idea, and just leave every other idea alone. This is the way to success.