JSP PageContext. Include () method: include the file in the page
•
Java
Grammar 1
include(String relativeUrlPath)
Example
<%@page language="java" pageEncoding="GBK"%> <% pageContext.include("/top.jsp"); %>
Grammar 2
include(String relativeUrlPath,boolean flush)
Example
<%@page language="java" pageEncoding="GBK"%> <% pageContext.include("/top.jsp",true); %>
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码