Hi I'm pretty new to web programming and am trying to implement SSL.
I've done the tomcat configuration and installed the keys using keytool. I am able to access the application both using http and https
My web application is on Java Springs. I wanted to know if there is any place where I can specify which URL should be accessed through https. Initially I just want the login page to be accessed via https.
I know one way would be to directly put the full URL including https in all pages that have link to https - for instance call the login.jsp as follows
But I dont think this is the right approach. Because in the entire App i'm using relative URL's - so once I forward the users to login.jsp via https - after that all the subsequent clicks will be accessed via https.
I hope my question is clear.
Appreciate your responses