URL mapping in Tomcat to FrontController servlet

后端 未结 4 1816
太阳男子
太阳男子 2021-01-04 16:47

I\'m trying to follow the pattern at Design Patterns web based applications. It all works fine part from when it comes to maping \"root\" URLs.

I\'d like to put all

4条回答
  •  清歌不尽
    2021-01-04 17:22

    the /* url pattern matches all servlets, jsp and static content in your application.

    Whay you would need is to define a *.jsp pattern to allow Tomcat use the default jsp servlet:

    
        jsp
        *.jsp
    
    

提交回复
热议问题