Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 19283 invoked from network); 20 Feb 2006 23:31:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Feb 2006 23:31:21 -0000 Received: (qmail 12106 invoked by uid 500); 20 Feb 2006 23:31:07 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 11237 invoked by uid 500); 20 Feb 2006 23:31:04 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 11226 invoked by uid 99); 20 Feb 2006 23:31:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2006 15:31:04 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.63.108.51] (HELO usbb-lacimss1.unisys.com) (192.63.108.51) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2006 15:31:04 -0800 Received: from USBB-LACGW3.na.uis.unisys.com ([129.224.98.43]) by usbb-lacimss1 with InterScan Messaging Security Suite; Mon, 20 Feb 2006 18:48:35 -0500 Received: from USBB-LACGW3.na.uis.unisys.com ([129.224.98.44]) by USBB-LACGW3.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 20 Feb 2006 18:30:42 -0500 Received: from USRV-EXCH1.na.uis.unisys.com ([129.225.81.6]) by USBB-LACGW3.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 20 Feb 2006 18:30:42 -0500 Received: from USRV-EXCH4.na.uis.unisys.com ([192.61.245.232]) by USRV-EXCH1.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 20 Feb 2006 17:30:41 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.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: Fw: Servlet problem Date: Mon, 20 Feb 2006 17:30:40 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Fw: Servlet problem Thread-Index: AcY2ciCpTkw79lvxT1CUFhlxkZsgewAAhsQA From: "Caldarale, Charles R" To: "Tomcat Users List" X-OriginalArrivalTime: 20 Feb 2006 23:30:41.0663 (UTC) FILETIME=[A9ED90F0:01C63675] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > From: Mark Whitby [mailto:ug82msw@cs.bham.ac.uk]=20 > Subject: Re: Fw: Servlet problem >=20 > If nothing is found then it redirects the user to=20 > searchnone.jsp. If an item or more than one item=20 > is found then the page will redirect to itemlist.jsp > or matchlist.jsp As a previous poster pointed out, there's a difference between redirect (requiring a round trip to the client) and forward (a server-only mechanism). Which is it that you want to do? (Your code says one thing, your words another.) > I have the mapping twice yes, once for searchitem.jsp and once for=20 > searchmatch.jsp, which both use the same servlet - SearchServlet. SearchServlet /searchmatch.jsp SearchServlet /searchmatch.jsp The above are your published mappings, copied and pasted from your original message; these appear identical to me - both are for the searchmatch.jsp pattern. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org