Announcement Announcement Module
No announcement yet.
Spring WS and Spring MVC together. Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring WS and Spring MVC together.

    I have a spring webservices application and we need to develop a small monitor page which shows performance of service requests, hits, etc.

    I created two servlets
    1. tcherServlet for Webservices
    2. org.springframework.web.servlet.DispatcherServlet for Web MVC requests.

    Also I created one applicationContext.xml for shared beans across both these contexts and it is defined in web.xml.

    I went through the airline example and tried to do the same, but when i start injecting the beans defined in applicationContext.xml, I am starting to get "bean not found" etc..

    I have attached the web.xml in this thread.
    Please let me know how to share the beans between the contexts. Thanks.