Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 11775 invoked by uid 500); 17 Apr 2001 16:10:46 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 11620 invoked from network); 17 Apr 2001 16:10:43 -0000 Received: from unknown (HELO mta1n.bluewin.ch) (195.186.1.210) by h31.sny.collab.net with SMTP; 17 Apr 2001 16:10:43 -0000 Received: from gael (195.186.191.164) by mta1n.bluewin.ch (Bluewin AG MX engine 5.5.021) id 3AD7E67600114CFB for tomcat-user@jakarta.apache.org; Tue, 17 Apr 2001 18:10:08 +0200 From: =?iso-8859-1?Q?Ga=EBl_Oberson?= To: Subject: RE: include a file in a servlet Date: Tue, 17 Apr 2001 18:13:36 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal In-Reply-To: <7EDA5140F315D311B3E8006094B90AEA8ED2B7@mail.interstarinc.com> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N try this: request.getRequestDispatcher("/examples/web/test.jsp").include(request, response); -----Message d'origine----- De : Georges Boutros [mailto:GBoutros@interstarinc.com] Envoy� : mardi, 17. avril 2001 17:41 � : 'tomcat-user@jakarta.apache.org' Objet : RE: include a file in a servlet -----Original Message----- From: Georges Boutros [mailto:GBoutros@interstarinc.com] Sent: Tuesday, April 17, 2001 10:11 AM To: 'tomcat-user@jakarta.apache.org' Subject: RE: include a file in a servlet hi, i wanna know how can i include a jsp or html file in a servlet thanks Georges ******************************************************************** hi again, the error i get seems like the file is not found here's how i do it: request.getRequestDispatcher("/examples/jsp/web/test.jsp").include(request, response); my jsp files are under /webapps/examples/jsp/web/ thanks again