Reputation: 255
I've done all things mentioned here jsp page is cached, can not change it, tomcat, but still the same page. what else should I consider?
Upvotes: 0
Views: 2113
Reputation: 62573
If using <%@ include file="someother.jsp" %>
, I suggest touching
the parent JSP as well as the included files.
The <%@ include file="file.jsp" %>
includes files at compile time. So unless your parent file is changed, a recompilation is not forced.
If you use <jsp:include />
however, the inclusion is carried out at runtime, ensuring that you always get a fresh copy.
Upvotes: 6