jsp static import and dynamic import notes


<%@ include file=... %> Static import, when the jsp page is executed, the file to be imported and the execution page are compiled into a class file by the jsp engine, and the variables in the imported page can be used directly.
<jsp:include page=...></jsp:include>Dynamic import, when executing the page, the jsp engine also compiles the pages that need to be imported into class files at the same time, instead of combining them into one class file like static import, essentially Equivalent to one class calling another class.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325186483&siteId=291194637