You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Todd Kaplinger <to...@hotmail.com> on 2002/04/12 16:00:22 UTC
pageContext.include inside of custom tag jsp 1.1
Hello List,
I am looking for guidance with a specification issue that needs some more
clarity. Here is what is trying to be done.
<hello:someTagLib>
<% pageContext.include("somePage.jsp"); %>
</hello:someTagLib>
The current jasper code prevented this when it added the flush
statement inside of the PageContextImpl.include method. When looking
at the recent Tomcat 4.0 (Jsp1.2) code, JspRuntimeLibrary now checks to see
if the JspWriter is of type BodyContent before flushing.
1) Should this same change have been done for JSP 1.1 in Tomcat?
2) If yes to question 1, should the output of the included response's
content be made available to the custom tag's BodyContent.doAfterBody()
like the rest of the non-included content inside of that tag? For instance,
retrieving the included resources response data via a
getBodyContent.getString().
Thanks in advance.
Todd
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>