Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts2 - spring problem

 
khaled hanafy
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to integrate struts2 and spring but the spring doesn't inject the beans when required "it gives null pointer".

my applicationContext.xml as follow



and the TestBao and TestDao classes as follow



and the tomcat server gives that in the console which mean the spring runs properly




any idea ..
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic