What is the difference between include directive and include action?
|Include directive||Include action|
|Resource included by include directive is loaded during jsp translation time.||Resource included by include action is loaded during request/run time.|
|Any change on included resource will not be visible in case of include directive until jsp file compiles again.||While in case of include action any change in included resource will be visible in next request.|
|Syntax of Include directive: <%@ include file="file_name" %>||Syntax of Include action: <jsp:include page="file_name" />|
|When using include action tag we can also pass the parameters to the included page by using param action tag||In case of include directive it is not possible.|