struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Evans (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (STR-1191) <tiles:insert> flushes on JSP 1.2+ container
Date Tue, 02 May 2006 00:22:19 GMT
     [ http://issues.apache.org/struts/browse/STR-1191?page=all ]
     
David Evans reopened STR-1191:
------------------------------

    Assign To: David Graham  (was: Struts Developer Mailing List)

> <tiles:insert> flushes on JSP 1.2+ container
> --------------------------------------------
>
>          Key: STR-1191
>          URL: http://issues.apache.org/struts/browse/STR-1191
>      Project: Struts Action 1
>         Type: Improvement

>   Components: Tiles
>     Versions: Unknown
>  Environment: Operating System: All
> Platform: All
>     Reporter: nicolas de loof
>     Assignee: David Graham
>     Priority: Minor
>      Fix For: 1.2 Family
>  Attachments: patch.txt
>
> <tiles:insert> is using JSP include mecanism. In JSP 1.1, include MUST use
> the flush mecanism : JSP buffer is flushed before include is done. That way it 
> is not possible to use tiles:insert inside the body of another tag.
> JSP 1.2 doesn't have this limitation : (JSP 1.2 spec p.17 : Relation to JSP 1.1)
> "Fixing the infamous "flush before you include" limitation in JSP 1.1."
> I suggest using 
> javax.servlet.jsp.JspEngineInfo engineInfo =       
>      JspFactory.getDefaultFactory().getEngineInfo(); 
> in InsertTag to detect JSP container version and not do flush when it is not 
> mandatory (JSP 1.2+), until "flush" attribute is set.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message