Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 24846 invoked from network); 24 Aug 2006 07:30:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Aug 2006 07:30:02 -0000 Received: (qmail 2367 invoked by uid 500); 24 Aug 2006 07:29:55 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 2331 invoked by uid 500); 24 Aug 2006 07:29:55 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 2320 invoked by uid 99); 24 Aug 2006 07:29:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Aug 2006 00:29:55 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of michael.wechner@wyona.com designates 195.226.6.68 as permitted sender) Received: from [195.226.6.68] (HELO mx1.wyona.com) (195.226.6.68) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Aug 2006 00:29:53 -0700 Received: from [195.226.6.66] (helo=[192.168.1.55]) by mx1.wyona.com with asmtp (Exim 3.35 #1 (Debian)) id 1GG9eb-0007xm-00 for ; Thu, 24 Aug 2006 09:29:29 +0200 Message-ID: <44ED555B.1000200@wyona.com> Date: Thu, 24 Aug 2006 09:29:31 +0200 From: Michael Wechner User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920 X-Accept-Language: en-us, de, fr-ch, en MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Re: Tomcat Simple Example References: <1cbd6f830608221924r753b93aese0636ec917ec47d1@mail.gmail.com> <44EC0150.2020203@wyona.com> <1cbd6f830608231418k6ee943e0m5200e15d5e7be706@mail.gmail.com> In-Reply-To: <1cbd6f830608231418k6ee943e0m5200e15d5e7be706@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Mag Gam wrote: > Thanks! > > So, when working with Tomcat, for a simple Index + Search, it is > recommend > to use JSP over servlets? > > any advice? well, the issue seems to me rather that the (X)HTML is hardcoded into the JSP resp. Servlet which creates a maintenance nightmare when one wants to customize the layout and at the same time upgrade from time to time. As an alternative I would rather suggest that one generates a well-defined XML with JSP or a servlet and then applies an XSLT. If somebody is afraid of performance issues then one might want to consider generating the servlet or jsp code dynamically out of the XSLT ... cheers Michi > > > > On 8/23/06, Chris Hostetter wrote: > >> >> >> : > Does anyone have a simple Tomcat search/result example? >> >> : > I have 4 text files, >> : > i would like to index. >> >> take a look at the geting started guide, and the demo WAR that comes >> with >> the Lucene distribution... >> >> http://lucene.apache.org/java/docs/gettingstarted.html >> >> >> >> -Hoss >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org >> For additional commands, e-mail: java-user-help@lucene.apache.org >> >> > -- Michael Wechner Wyona - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org michael.wechner@wyona.com michi@apache.org +41 44 272 91 61 --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org