Why is my spring bean which is injected properly on server start up, null when I post my form to the controller?

Add @Autowired for loginInfoDAO since you are using context:annotation-config.

Add @Autowired for loginInfoDAO since you are using context:annotation-config. @Autowired private LoginInfoDAO loginInfoDAO; Then remove the following entries from your context xml (since they are driven with the annotation here). This should get you going.

That did it! Thanks. – coder Jun 17 at 5:42 No problem - glad it helped you!

Also you don't need the bean named myLoginInfoDAO and /login in your application-context. Xml if you are autowiring them. – CoolBeans Jun 17 at 5:43.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions