spring中的标签笔记
1.mime-mapping是web.xml中的一个节点,用来指定对应的格式的浏览器处理方式:
<mime-mapping> <extension>abs</extension> <mime-type>audio/x-mpeg</mime-type> </mime-mapping>
也可以用来配置静态页面的打开编码:
<mime-mapping> <extension>html</extension> <mime-type>text/html;charset=gb2312</mime-type> </mime-mapping>
2.设置首页:<welcome-file-list>
<welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> </welcome-file-list>
3.Spring Security实现登录:http://wiki.jikexueyuan.com/project/spring-security/