Hi I'm new using these frameworks. I've used this tutorial as a starting point. My problem is that none of my actions work. When the jsp input form is shown and you submit the values I get this error:
My Spring application context is as follows:
My hibernate.cfg is:
The base action is:
And the Login action:
I've tried to substitute in Login.action by and this way this action works fine and the rest keep showing the error. So I think maybe there is a problem with the session factory, but I can't see the problem in the configuration.
But you *don't* inject it anywhere, that's what I'm saying. Where and how do you believe it's being set on the action?
Joined: Aug 11, 2010
I understand what you say but now I'm so confused. According to this reference documentation is not need to set the reference by yourself because Spring's context do that with declared beans. So if I reference the bean "session factory" in the DAO LogicaComun with
and then I do the same with bean DAO in the Base Action (AccionBase)