DO NOT REPLY [Bug 20098] - RequestDispatcher.include() in a jsp prints it's contents before any of the parents jsp's content is printed

2003-08-14 Thread bugzilla
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=20098.
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=20098

RequestDispatcher.include() in a jsp prints it's contents before any of the parents 
jsp's content is printed

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2003-08-13 14:19 ---
Resin x.x.x shows the same result. 

if you use the jsp:include directive it goes. 
don't use rd directly in a jsp page.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 20098] - RequestDispatcher.include() in a jsp prints it's contents before any of the parents jsp's content is printed

2003-08-14 Thread bugzilla
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=20098.
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=20098

RequestDispatcher.include() in a jsp prints it's contents before any of the parents 
jsp's content is printed





--- Additional Comments From [EMAIL PROTECTED]  2003-08-13 14:27 ---


I had a similar problem in the past. The behaviour your seing is (perhaps strangely) 
according to 
spec (the included buffer being flushed before the includers buffer).

If you want to make this work with request dispatchers, make sure you do a out.flush 
before 
including the second page (that is what the flush=true means in the jsp:include tag).

Martin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]