<JSP: Include>
It is used to include static and dynamic resources on the current page. Once the contained page is executed, request processing continues on the call page. the contained page cannot change the response status code or set the header, which prevents calls to methods like setcookie (). Any calls to these methods will be ignored. this constraint is used in javax. servlet. the constraints imposed on the include () method of the dispatcher class of the request are the same.
<JSP: Include> two attributes are available: page and flush:
Page: contains the relative path of the Resource
Flush: This attribute is optional. If it is true, when the page output uses a buffer, refresh the buffer before the inclusion operation. The default value is false.
<JSP: Include> You can include one or more <JSP: param> In the content to provide parameter information for the contained page. the contained page can access the request object, which contains the original parameters and new parameters specified by the <JSP: param> element. if the parameter name is the same, the original value remains unchanged, and the new value has a higher priority than the existing value.
<JSP: Include> and include: