I've just struck the same problem - did anyone have a solution? After
foing the include, the rest of the page isn't output. Is it a bug?

Looking at the generated code things look fine:

                out.write("some text");
            // end
            // begin [file=...]
                out.flush();

application.getRequestDispatcher("includedFile.jsp").include(request,
response);
            // end
            // begin
                out.write("more text");

Jen Hsien Huang wrote:

> I have a quest about include action the fellowing is my
> code================<HTML>
> <HEAD>
> <TITLE>Hello World</TITLE>
> <%@ page buffer="none" %>
> </HEAD>
> <BODY>
> <h1>Hello World</h1>
> <jsp:include page="/Include_Action_JSP10/inc0.jsp" />
> <jsp:include page="/Include_Action_JSP10/inc1.jsp" />
> <jsp:include page="/Include_Action_JSP10/inc2.jsp" />
> </BODY>
> </HTML>
> =================inc0.jsp , inc1jsp , inc2.jsp are the
> same==============<%@ page buffer="none" %>
> <h1>Include file: inc1.jsp</h1>
> <%
> for(int i = 0; i < 5; i++)
>  out.println("number " + i + "<br>");
> %>=============== the result is very strange=============<HTML>
> <HEAD>
> <TITLE>Hello World</TITLE> </HEAD>
> <BODY>
> <h1>Hello World</h1> <h1>Include file: inc0.jsp</h1>
> number 0<br>
> number 1<br>
> number 2<br>
> number 3<br>
> number 4<br>=============only inc0.jsp to be include . Wby? can
> anybody tell me ? thanx -Brenden- @_@

===========================================================================
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