Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 73003 invoked from network); 10 Apr 2003 18:48:13 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 10 Apr 2003 18:48:13 -0000 Received: (qmail 11456 invoked by uid 97); 10 Apr 2003 18:50:09 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 11449 invoked from network); 10 Apr 2003 18:50:08 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 10 Apr 2003 18:50:08 -0000 Received: (qmail 71572 invoked by uid 500); 10 Apr 2003 18:47:58 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 71560 invoked from network); 10 Apr 2003 18:47:58 -0000 Received: from unknown (HELO warhawk.mpi.com) (63.244.250.133) by daedalus.apache.org with SMTP; 10 Apr 2003 18:47:58 -0000 Received: from thunderbolt.mpi.com (thunderbolt.mpi.com [199.93.192.55]) by warhawk.mpi.com (Switch-2.2.6/Switch-2.2.6) with ESMTP id h3AIm2I07607 for ; Thu, 10 Apr 2003 14:48:02 -0400 (EDT) Received: from US-VS1.corp.mpi.com (us-be1.corp.mpi.com [199.93.195.20]) by thunderbolt.mpi.com (Switch-3.0.4/Switch-3.0.0) with ESMTP id h3AIlts6004310 for ; Thu, 10 Apr 2003 14:48:01 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [OFF-TOPIC] RE: RequestDispatcher include() Problem Date: Thu, 10 Apr 2003 14:47:58 -0400 Message-ID: <9C5166762F311146951505C6790A9CF858E881@US-VS1.corp.mpi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [OFF-TOPIC] RE: RequestDispatcher include() Problem thread-index: AcL/kUPi6dXt9DX9SpKTtiFmfO2g6QAACrjg From: "Shapira, Yoav" To: "Tomcat Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Howdy, > case 3: > > url =3D "/servlet/Report3"; > rd =3D context.getRequestDispatcher(url); > rd.forward(request, response); > break; > >How would I incoporate the items that you have just given me in this >system. Would they go before the switch statement (header), and after= the >statement terminates (footer)? Combining include and forward is tricky. It would be easier if each o= f your report servlets included the code in my previous message. This i= s because designing an implementation that relies on keeping control of the response AFTER calling rd.forward is not conceptually clean and could result in unexpected behavior. Yoav Shapira Millennium ChemInformatics This e-mail, including any attachments, is a confidential business com= munication, and may contain information that is confidential, propriet= ary and/or privileged. This e-mail is intended only for the individua= l(s) to whom it is addressed, and may not be saved, copied, printed, d= isclosed or used by anyone else. If you are not the(an) intended reci= pient, please immediately delete this e-mail from your computer system= and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org