Query regarding TLS encryption
<p>I have made two J2EE applications where in one servlet in ProjectX is performing a sendRedirect to another servlet of ProjectY via https protocol.</p>

<p>Code is something like</p>

<pre><code> response.sendRedirect("https://ip:8443/ProjectY/servletY?id=123");
</code></pre>

<p>In ProjectY, </p>

<p>SerletY is having code as</p>

<pre><code>PrintWriter pw = response.getWriter();
pw.print("Passed id is ID = " + request.getParameter("id"));
</code></pre>

<p>My Query is , </p>

<p>since the data sent accross the network is ideally encrypted when using https, why am I able to see the url of the browser after redirecting to ServletY as</p>

<p>"<a href="https://ip:8443/ProjectY/servletY?id=123">https://ip:8443/ProjectY/servletY?id=123</a>"</p>

<p>I have hidden the parameter using POST method , but my question is , is it actually encrypting data while sending from ProjectX(which was in http) to ProjectY (which is https call) ?</p>

<p>Thanks for you support.!!!</p>