Reputation: 16900
I configure my web application to use SSL using my own self signed certificate. Everything is working fine but here my whole site is https now as i used :-
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
However, i only want my login page to use SSL and not complete site. What changes do i need to make in my application?
Thanks in advance :)
Upvotes: 0
Views: 900
Reputation: 597096
https://...
http://
For example:
<a href="https://<%= request.getServerName() %>/login.jsp">
(you many need to also include request.getServletContext().getContextPath()
as well)
Upvotes: 1