留言板
Redirecting to angular directive
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