Web learning differences include action tags and tag instructions

Action tag: <jsp: include page = " url" />
command tag: <% @ include file = " path"%>
contents include action tag will reference the execution will generate class url corresponding file, which is performed once after returning to the page to generate a new page content.
Here Insert Picture Description
Instruction mark: the original file is not compiled, just as it is inserted into the containing page. After the two combined into one, the compilation process as a Java file, and returns the results page.
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/weixin_43232423/article/details/90743604