There is a header content which comes from a external url(say http://sample.com/header.html
). 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.
I appreciate if you can help me with that!
<%@ page contentType="text/html; charset=ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<c:import url="https://www.google.com/?gws_rd=ssl" />
</body>
</html>