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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to