Hi david,
I'm sorry about typing short words, here after i'll stick to your advice. Sorry again.
Here is the relevent part of my application-context.xml file:
Here is the part of my Hibernate.cfg.xml which maps to the Users table for which UsersDAO is written
In acheivers-servlet.xml (dispatcher
servlet) i have defined this :
In the login controller i'm using the UsersDAO like this:
In the UsersDAO the above called method is defined like this:
But i get a nullPointer on getHibernateTemplate() method. Why is that?? do i miss anythg???
I read that HibernateDAOSupport can create a HibernateTemplate if sessonFactory is specified. I have defined sessionFactory in application-context.xml. Is that all i need to do??
Please guide me and give an explanation. Sample codes will be much more helpful.
Thanks a lot.