<security-constraint> <web-resource-collection> <web-resource-name>JSPs</web-resource-name> <url-pattern>/admin/*</url-pattern><!-- 拒绝直接访问web文件夹下的所有页面 --> </web-resource-collection> <auth-constraint/> </security-constraint> <login-config> <auth-method>BASIC</auth-method><!-- 验证方式(BASIC/FORM) --> </login-config>
如对本文有疑问, 点击进行留言回复!!
【面试题】研究过tomcat的NioEndpoint源码吗?请阐述下Reactor多线程模型在tomcat中的实现。
荐 厉害了!阿里P8架构师用4大技术文档带你深入解读爆火的中台战略
网友评论