Re: Tomcat Simple Example

2006-08-24 Thread Robert Koberg
Erik Hatcher wrote: On Aug 24, 2006, at 3:29 AM, Michael Wechner wrote: 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 serv

Re: Tomcat Simple Example

2006-08-24 Thread Michael Wechner
Erik Hatcher wrote: On Aug 24, 2006, at 3:29 AM, Michael Wechner wrote: 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

Re: Tomcat Simple Example

2006-08-24 Thread Erik Hatcher
On Aug 24, 2006, at 3:29 AM, Michael Wechner wrote: 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 dy

Re: Tomcat Simple Example

2006-08-24 Thread Michael Wechner
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 cust

Re: Tomcat Simple Example

2006-08-23 Thread Hasan Diwan
On 22/08/06, Mag Gam <[EMAIL PROTECTED]> wrote: Does anyone have a simple Tomcat search/result example? I have 4 text files, i would like to index. There's a demonstration war file included with lucene. -- Cheers, Hasan Diwan <[EMAIL PROTECTED]> ---

Re: Tomcat Simple Example

2006-08-23 Thread Mag Gam
Thanks for the response Erik! You make a good point. I have the 'Lucene in Action' book, and it has some good ways of doing things...its at work now (I am away for 3 weeks), thats the only bad thing :-( On 8/23/06, Erik Hatcher <[EMAIL PROTECTED]> wrote: On Aug 23, 2006, at 5:18 PM, Mag Gam

Re: Tomcat Simple Example

2006-08-23 Thread Erik Hatcher
On Aug 23, 2006, at 5:18 PM, Mag Gam wrote: So, when working with Tomcat, for a simple Index + Search, it is recommend to use JSP over servlets? any advice? No such recommendation would ever officially come from the Lucene community. Lucene is entirely independent of how search results g

Re: Tomcat Simple Example

2006-08-23 Thread Mag Gam
Thanks! So, when working with Tomcat, for a simple Index + Search, it is recommend to use JSP over servlets? any advice? 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.

Re: Tomcat Simple Example

2006-08-23 Thread Chris Hostetter
: > 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

Re: Tomcat Simple Example

2006-08-23 Thread Michael Wechner
Mag Gam wrote: Hi All, Does anyone have a simple Tomcat search/result example? you mean like the war file of Nutch? Michi I have 4 text files, i would like to index. Thanks -- Michael Wechner Wyona - Open Source Content Management -Apache Lenya http://www.wyona.com