You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/09/25 10:37:11 UTC

DO NOT REPLY [Bug 23406] New: - shows partial output after the included file has been modified

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23406>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23406

<jsp:include> shows partial output after the included file has been modified

           Summary: <jsp:include> shows partial output after the included
                    file has been modified
           Product: Tomcat 4
           Version: 4.1.24
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: mvdijken@madocke.nl


I have a very strange problem and it is almost unreproducable. If someone would
like to help me isolate the issue I'd be much abliged. I'm willing to do the
research work on it, but need a few hints where to look. The following happens: 

We have an index.jsp which jsp:includes a menu.jsp. The menu.jsp is a relatively
large plain text file. The menu.jsp is generated every night at midnight to
reflect the changes of the day. Some days when we come in, the menu only shows
partially. Other days the whole menu is shown.

When checking the generated java and class files everything seems to be in
order. The index.jsp has a JspRuntimeLibrary.include where the jsp:include was
and the menu.jsp, menu_jsp.java and menu_jsp.class(decompiled to check) all
resemble the new state. The index.jsp shows itself entirely, however only a part
of the included html is shown. If the menu.jsp is recreated manually everything
works again.

A sidenote to this bug is that it only seems to occur with larger includes (this
example is 1300 lines). Other sites we've created use the same method of
including and menu generation with smaller menus and they have no problem.