My reading of the JSP 1.0 spec is that there are three kinds of
server-side includes:

1. Translation-time inclusion: <%@ include file="relativeURLspec" %>
Content is included when JSP is translated into a servlet. Included
content can be JSP.

2. Request-time static inclusion: <jsp:include file="urlSpec">
Content is included when request is made. Allows you to dynamically change
which file is included. Included content is not parsed as JSP.

3. Request-time dynamic inclusion: <jsp:request include="urlSpec">
Dynamic content is included when request is made. This is equivalent to
the callPage method from previous specs/implementations. Maps to
RequestDispatcher.include in JSDK 2.1. Included content is parsed as JSP.

First of all, bravo for making the spec much more explicit in this area.
However, I think that #1 is still a bit ambiguous. When doing
translation-time inclusion, should the content be included in a
pre-process step (before translation), or during translation? It seems
like the right answer is the former, but the spec should probably be very
specific here so that SSI will be consistently implemented by the
different JSP runners.

Jack Humphrey
Software Developer, Trilogy Software, Inc.
[EMAIL PROTECTED]

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to