Including header contents from a External URL into a JSP file
<p>There is a header content which comes from a external url(say <code>http://sample.com/header.html</code>). I want to include this header in my jsp file that actually I can see this header in my jsp page. When I run my jsp page this header url should be shown on the top of my jsp page.</p>

<p>I appreciate if you can help me with that!</p>

<pre><code>&lt;%@ page contentType="text/html; charset=ISO-8859-1"%&gt;
 &lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%&gt;

&lt;!DOCTYPE html&gt;
&lt;html&gt;
    &lt;head&gt;
        &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;

    &lt;/head&gt;
        &lt;body&gt;
            &lt;c:import url="https://www.google.com/?gws_rd=ssl"  /&gt; 
         &lt;/body&gt;

&lt;/html&gt;
</code></pre>