掲示板
Redirecting to angular directive
7年前 に Clint Wilde によって更新されました。
Redirecting to angular directive
Junior Member 投稿: 39 参加年月日: 13/03/05 最新の投稿
Hello,
I have a post login service where I am redirecting to a landing page that will contain an angular2 portlet(it's not there yet), but when the browser refreshes, the last part of the url is being stripped off.
Here is my code:
But the url that shows up in the browser is http://localhost:8080/group/guest/landingmultipleaccounts.
So how do I prevent it from stripping off the "/#/directiveMultiple" ?
Thanks,
Clint
I have a post login service where I am redirecting to a landing page that will contain an angular2 portlet(it's not there yet), but when the browser refreshes, the last part of the url is being stripped off.
Here is my code:
String landingPageRedirect = "http://localhost:8080/group/guest/landingmultipleaccounts/#/directiveMultiple";
lifecycleEvent.getResponse().sendRedirect(landingPageRedirect);
But the url that shows up in the browser is http://localhost:8080/group/guest/landingmultipleaccounts.
So how do I prevent it from stripping off the "/#/directiveMultiple" ?
Thanks,
Clint