How to change Spring MVC's behavior in handling url 'dot' character

前端 未结 6 628
耶瑟儿~
耶瑟儿~ 2020-12-06 11:40

I\'m trying to migrate a web project off from Jersey to Spring MVC 3.0. The process was really straightforward up to the moment when I started to migrate the controllers sup

6条回答
  •  -上瘾入骨i
    2020-12-06 12:21

    The above answer should correct, but be sure to remove from your XML configuration, otherwise the bean definition is overruled by the one part of the annotation-driven tag.

    See the java docs and the source code for all the configuration you miss when this convenience tag is removed.

提交回复
热议问题