java - SpringMVC+Shiro implements jump problem after login
为情所困
为情所困 2017-05-27 17:40:03
0
3
780

The project uses SSM Shiro. If the login is successful, it will jump to the home page. It needs to know that the user has successfully logged in and display the user's information on the home page. How to do this.
The homepage is: index.jsp under Webcontent
SpringMVC configuration<url-pattern>/</url-pattern>
For example:
I visit https:/ /segmentfault.com, https://segmentfault.com is returned after successful login, but the user's information is loaded on the homepage.
I want to make the effect of changes before and after logging in to this site.


It seems that you can obtain the Subject in JSP and Java code to achieve this effect. Is there any better solution than this?

为情所困
为情所困

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!