What I mean is, the page can be complied.
For static inclusion, because the target
JSP will be INCLUDED (i.e. the page content will be inserted into the source page), thus, the whole body, source page + target page, MUST be a single
unit, and can be complied.
The case is obvious. Consider:
For static inclusion, the page A.jsp cannot be complied, because both pages contain the variable s, which is duplicated.
However, for dynamic inclusion, the above example works, because the target page is NOT included at the compliation time, as A.jsp and B.jsp are complied separately.
Does this make the case clear?
Nick.
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)