- 引入shiro标签
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
- property中为要展示的用户的信息(此处为username)
<shiro:principal property="username"/>
转载于:https://my.oschina.net/u/4107179/blog/3030536
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<shiro:principal property="username"/>
转载于:https://my.oschina.net/u/4107179/blog/3030536