Announcement Announcement Module
Collapse
No announcement yet.
MVC and web services in the same app? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • MVC and web services in the same app?

    Hello.

    I have a Spring MVC application with a dispatcher servlet, controllers and JSP view layer. Now i have a requirement to expose some functionality as web services, which is completely new to me. I figured i'd just set up another servlet in the same application and catch web service calls and handle them in the standard Spring-ws way.

    Before i proceed, i'd just like to know:

    1: that this is even possible
    2: that this is an acceptable packaging

    So please, can someone verify that this can be done and that it is an OK application design.

  • #2
    1. yes
    2. Yes

    Comment


    • #3
      Excellent. Thanks.

      Do i just set up a second <servlet> tag in my web.xml?

      Comment

      Working...
      X