Can anyone explain servlet mapping?

后端 未结 3 889
生来不讨喜
生来不讨喜 2020-11-30 18:17

I\'m trying to write a web application using SpringMVC. Normally I\'d just map some made-up file extension to Spring\'s front controller and live happily, but this time I\

3条回答
  •  萌比男神i
    2020-11-30 19:11

    For reference, the "failed attempt #2" is perfectly correct in version of Tomcat >= to 6.0.29.

    It was the result of a Tomcat bug that get fixed in version 6.0.29:

    https://issues.apache.org/bugzilla/show_bug.cgi?id=50026

    
    
      app
      /
    
    
    
      default
      /some-static-content-folder/*
    
    

提交回复
热议问题