servlet中web.xml配置
常见的Servlet中url-pattren的配置
1.固定配置, 如:/hi
引入通配符 *
2.以"/XXX"开头,以“*”结尾
3.以“*”开头,以“.XXXX”结尾
4.注意:不能以“/XXX”开头,以“*.XXXX”结尾 不能这么干:<!-- <url-pattern>/h/*.action</url-pattern> -->
One who want to wear the crown. Bear the crown.