tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <antonio.petre...@gmail.com>
Subject Including in a JSP the result of a servlet that forwards
Date Wed, 28 Nov 2007 11:41:09 GMT
Hi all,
If I make a <jsp:include> (in fact I am using Tiles, but the result is
the same) of a result of a servlet which, in turn, makes an
ApplicationDispatcher.forward, I have a strange effect:
- only the page forwarded by the servlet will be visible to the user;
- the rest of the JSP page is executed, but it gives a "Stream closed" error.
I tested on Tomcat 5.5.25 and Jetty 6.1.1rc1 (embedded in Cargo, Maven
2 plugin), that (correct me if I am wrong) shares the Jasper engine
with Tomcat.
Independently from the fact if it is a good or a bad idea to forward
into a servlet that is included, is this the normal behaviour or is it
a bug?

Thanks in advance
Antonio

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message