SSL question java web application
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 :)
- let all links be regular
- let the link to the login page be
https://...
- on the login page make sure all links are
http://
For example:
<a href="https://<%= request.getServerName() %>/login.jsp">
(you many need to also include request.getServletContext().getContextPath()
as well)
精彩评论