Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring 登录时安排另一页而不是主页_Spring_Url_Shiro - Fatal编程技术网

Spring 登录时安排另一页而不是主页

Spring 登录时安排另一页而不是主页,spring,url,shiro,Spring,Url,Shiro,我正在开发一个具有spring框架的应用程序,并为安全性实现了shiro过滤器。 我的应用程序登录页面的登录url为“localhost:8082/”。 但我在登录时手动更改了url“localhost:8082/socialProfile?by=Followers”。 我所期望的是,在登录后,它应该安排“socialProfile?by=Followers”页面,而不是安排我的应用程序主页“”。 但它正在调度“localhost:8082/dashboard”页面。 有什么方法可以得到想要的结

我正在开发一个具有spring框架的应用程序,并为安全性实现了shiro过滤器。 我的应用程序登录页面的登录url为“localhost:8082/”。 但我在登录时手动更改了url“localhost:8082/socialProfile?by=Followers”。 我所期望的是,在登录后,它应该安排“socialProfile?by=Followers”页面,而不是安排我的应用程序主页“”。 但它正在调度“localhost:8082/dashboard”页面。
有什么方法可以得到想要的结果吗?

你能分享你的配置文件吗?谢谢你的回复。我有答案