Would have been better to ask this in the JSP forum, but never mind.
Look, when you use <%@ include ...%> in JSP, the *TEXT* of the specified file is pulled into and becomes *TEXT* in the CURRENT PAGE.
In other words, by the time that the Java Compiler actually converts the page into a ".class" file for the server to work from, the fact that some code came from a <%@ include %> is LONG SINCE FORGOTTEN!!!
So, in the HTML that is sent to the browser, there's really NO DIFFERENCE between HTML generated from the main page and HTML generated from the <%@ include %>!
In short, you would do this exactly the same way you would any place in the code.
<form><input type=button value="Reload Page" onclick="location.reload();"></form>
Or something along those lines.
|