lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wechner <michael.wech...@wyona.com>
Subject Re: Tomcat Simple Example
Date Thu, 24 Aug 2006 07:29:31 GMT
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 <hossman_lucene@fucit.org> 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


Mime
View raw message