第一步:导入jar包commons-beanutils-1.8.3.jarcommons-logging-1.1.1.jarlog4j-1.2.17.jarshiro-all-1.3.2.jarshiro-core-1.2.3.jarshiro-spring-1.3.2.jarslf4j-api-1.7.5.jarslf4j-log4j12-1.7.5.jar第二步:在web.xml中配置filter[html] view plain copy shiroFilter org.springframework.web.filter.DelegatingFilterProxy targetFilterLifecycle true shiroFilter /*