Spring Thymeleaf 文档
1.引入CSS
2.引入JS
3.放行资源文件
@Override
public void init(WebSecurity web) throws Exception {
web.ignoring().antMatchers("/plugins/**");
web.ignoring().antMatchers("/css/**");
web.ignoring().antMatchers("/js/**");
web.ignoring().antMatchers("/img/**");
super.init(web);
}
4.表单的Action这样写