When using
include directive in jsp
if there is a change in the included JSP file but the source JSP file is not compiled again, the modification should not get reflected in the output. But in Eclipse it is getting reflected.
I have a jsp called main.jsp and I have included a jsp in it called header.jsp like this,
<%@ include file="header.jsp" %>
I run main.jsp and got the output correct.
Now I make some change in header.jsp and refresh the browser, it is reflecting the change made in header.jsp.
Is it that refreshing the browser causes the main.jsp to compile again. If yes, how can I verify that characteristic of include directive that the changes in the included file are not reflected in the output until the parent file is compiled again ?