How to register multiple servlets in web.xml in one Spring application

后端 未结 3 524
情书的邮戳
情书的邮戳 2020-12-04 15:36

I want to define two servlets in my Spring web.xml - one for the application html/jsp pages, and one for a web service that will be called by an external application. Here

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-04 16:35

    I know this is a bit old but the answer in short would be both occurrences have given the same id which is 1 twice. This may confuse loading sequence.

提交回复
热议问题