I have configured my tomcat server to accept https connections.
Now my doubt is how to link to https url. Eg: From my index.jsp I'd like to link through https to login.jsp in a general way (development and production environments)
With http I just will add a link
<a href = "<=%request.getContextPath()%>/login.jsp">Log in!</a>
But now with https I dont have any idea of how to accomplish it in a general way so any help would be so much appreciated
(I know in my development environment https://localhost:8443/BuscoColegio/login.jsp will work, but I dont know how to do it in production http://ift.tt/1GbEkaR)
Aucun commentaire:
Enregistrer un commentaire