JspSourceDependent.getDependants()

1. JSP编译成的servlet

继承 org.apache.jasper.runtime.HttpJspBase

实现 org.apache.jasper.runtime.JspSourceDependent

 

2. 继承 org.apache.jasper.runtime.HttpJspBase 实现方法 public void _jspService(HttpServletRequest request, HttpServletResponse response)

 

3. 实现 org.apache.jasper.runtime.JspSourceDependent 实现方法  public java.util.List getDependants()

 

该方法 英文描述如下

public interface JspSourceDependent

Interface for tracking the source files dependencies, for the purpose of compiling out of date pages. This is used for

1) files that are included by page directives

2) files that are included by include-prelude and include-coda in jsp:config

3) files that are tag files and referenced

4) TLDs referenced

 

跟踪原始文件的依赖,为以下4个目的使用

 

1)使用page指令包含的页面文件 例如<%@include file="xxx.html"%>

2) files that are included by include-prelude and include-coda in jsp:config

3) 文件是标签或者引用

4) TLDs 引用

 

你可能感兴趣的:(apache,html,jsp,servlet)