~code
1.以全路徑匹配方式 以 / 打頭 (最經常使用的方法)get
如 : /demo /aa /cc http://localhost:8080/項目名/demo http://localhost:8080/項目名/aa http://localhost:8080/項目名/cc
以目錄匹配方式 以 / 打頭, 以 * 結尾 (基本上用不到,瞭解便可)配置
表明通配符, 只要前半段同樣,後半段不論是什麼路徑,都能訪問。方法
如: /demo/* /aa/* /cc/* http://localhost:8080/項目名/demo/aaa/bbb/cc
之後綴名方式 以 * 打頭 demo
如: .jpg .txt .aa .avi項目
http://localhost:8080/項目名/demo.dovi