0

Spring inject does alright when starting jetty server but when it comes to requesting a page in zk, the injection does not work.

asked 2013-11-04 01:52:31 +0800

surawatthana gravatar image surawatthana
1

Hi, I am new to zk. somehowever I managed to start an simple web application here is what happened. With my current web proejct, when jetty starts up, all the spring beans are instantiated and injected correctly in the main thread. But when it comes to requesting a web page, the application starts a new thread and the spring beans, which were previously instantiated and injected correctly, are not working. It will be a lot of code to post in the forum, therefore I have posted my war and here is the link

www.mediafire.com/download/aga2v8vy56e8g08/oxman.war

if anyone can have a look at it and tell me what is wrong with it that will be great as I have been banging my head on the war for the last couple of days.

Thank you so much

Sura Watthanalamlert

delete flag offensive retag edit
Be the first one to reply this discussion!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
2 followers

RSS

Stats

Asked: 2013-11-04 01:52:31 +0800

Seen: 4 times

Last updated: Nov 04 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More