A forward simply passes the same request from f0.jsp along to f1.jsp. Nobody actually requests f1.jsp, so you will not see such a request in the access log. Had f0 redirected to f1 (response.sendRedirect("...f1.jsp")) then you would see a second request.
You should see both printlns in stdout_xxxx.log. What is the <? ?> in f1? Should that not be <% %>? Tim -----Original Message----- From: P Y [mailto:[EMAIL PROTECTED] Sent: Saturday, March 04, 2006 3:06 AM To: Tomcat Users List Subject: Q: <jsp:forward> log and output ? Hi, I have 2 pages p0.jsp and p1.jsp ==> f0.jsp <== <h1>F0 ...</h1> <% System.out.println("**** IN F0 ****"); // goes to catalina.out %> <jsp:forward page="f1.jsp" /> ==> f1.jsp <== <H1>F1 ... </H1> <? System.out.println("**** IN F1 ****"); // ??? not printed ?> only the access to f0.jsp is logged in access_log, and only the f0 println is printed in catalina.out. Is this behaviour a bug or per design? Is there a way to have println to work in f1.jsp? Thanks, --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]