摘要:
原文链接:https://blog.csdn.net/guokezhongdeyuzhou/article/details/79670233 新建两个maven项目分别为: testMaven1 项目包名:com.test.pack 项目名:testMaven1 版本号:1.0.0 testMave 阅读全文
摘要:
Shiro共有5个注解 RequiresAuthentication: 使用该注解标注的类,实例,方法在访问或调用时,当前Subject必须在当前session中已经过认证。 RequiresGuest: 使用该注解标注的类,实例,方法在访问或调用时,当前Subject可以是“gust”身份,不需要 阅读全文
摘要:
tomcat8以后默认编码格式是utf-8;7之前的都是iso8859-1。 如果默认情况下,tomcat使用的的编码方式:iso8859-1。 修改tomcat下的conf/server.xml文件 找到如下代码: <Connector port="8080" protocol="HTTP/1.1 阅读全文