I am learning angular 2. I am trying to make an application in angular + spring.
In traditional J2EE MVC application, client sends request, server process it and redirect to another page. Decision to redirect to another page is taken at server side.
In angular, I created a login page. Submitted the form and I am able to send the SUCCESS/FAIL response to client. But I want to redirect to login success page from server only instead of angular type script (client) redirect to another component which is security issue.
Can someone help me how to handle this scenario?