Re: Where can I store data files in a tomcat war

2014-07-03 Thread Paul Taylor
On 03/07/2014 16:03, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Paul, On 7/2/14, 4:28 PM, Paul Taylor wrote: On 02/07/2014 16:34, Christopher Schultz wrote: The solution is that the web application, packaged in a WAR file, needs to unpack the Lucene indexes

Re: Where can I store data files in a tomcat war

2014-07-02 Thread Paul Taylor
On 02/07/2014 16:34, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Paul, On 7/2/14, 6:49 AM, Paul Taylor wrote: [L]et me explain it a bit further. I'm trying to deploy an application that serves results from a lucene index in response to user requests. Depl

Re: Where can I store data files in a tomcat war

2014-07-02 Thread Paul Taylor
On 02/07/2014 15:06, Mark H. Wood wrote: On Wed, Jul 02, 2014 at 11:49:36AM +0100, Paul Taylor wrote: I have a simple WAR based web application that uses Lucene created indexes to provide search results in a xml format. Especially given the following context: and supplementary question how do

Re: Where can I store data files in a tomcat war

2014-07-02 Thread Paul Taylor
On 02/07/2014 11:49, Paul Taylor wrote: I guess I'm a little confused as to what this means. I have a simple WAR based web application that uses Lucene created indexes to provide search results in a xml format. Especially given the following context: and supplementary question how

Re: Where can I store data files in a tomcat war

2014-07-02 Thread Paul Taylor
I guess I'm a little confused as to what this means. I have a simple WAR based web application that uses Lucene created indexes to provide search results in a xml format. Especially given the following context: and supplementary question how do I modify my pom file to do this with maven I was

Re: Where can I store data files in a tomcat war

2014-06-27 Thread Paul Taylor
On 27/06/2014 21:22, Mark Eggers wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/27/2014 11:59 AM, Christopher Schultz wrote: Paul, On 6/27/14, 8:34 AM, Paul Taylor wrote: I have a simple WAR based web application that uses lucene created indexes to provide search results in a xml

Re: Where can I store data files in a tomcat war

2014-06-27 Thread Paul Taylor
On 27/06/2014 19:59, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Paul, On 6/27/14, 8:34 AM, Paul Taylor wrote: I have a simple WAR based web application that uses lucene created indexes to provide search results in a xml format, the location of the indexes

Where can I store data files in a tomcat war

2014-06-27 Thread Paul Taylor
Hi I have a simple WAR based web application that uses lucene created indexes to provide search results in a xml format, the location of the indexes (outside of the war) are referred in the web.xml. It works fine locally but I want to deploy it using Elastic Beanstalk within Amazon Webservic

Re: Would like to extract every request to servelt except index.html

2010-04-02 Thread Paul Taylor
Pid wrote: On 02/04/2010 11:09, Paul Taylor wrote: Pid wrote: On 02/04/2010 09:51, Paul Taylor wrote: I would like every request to be redirected to a central servlet EXCEPT if the request is simply index.html, but at the moment everything gets redirected to the servlet, how could I do what

Re: Would like to extract every request to servelt except index.html

2010-04-02 Thread Paul Taylor
Pid wrote: On 02/04/2010 09:51, Paul Taylor wrote: I would like every request to be redirected to a central servlet EXCEPT if the request is simply index.html, but at the moment everything gets redirected to the servlet, how could I do what I want This is extract from my web.xml

Would like to extract every request to servelt except index.html

2010-04-02 Thread Paul Taylor
I would like every request to be redirected to a central servlet EXCEPT if the request is simply index.html, but at the moment everything gets redirected to the servlet, how could I do what I want This is extract from my web.xml SearchServerServlet / index.html thanks Paul ---

Re: How do you handle 'rewrite queries' ?

2009-08-13 Thread Paul Taylor
Christopher Schultz wrote: If you're looking for URL rewriting in Java, you need go no further than http://tuckey.org/urlrewrite/ So I had a look at urlrewrite, when you first mentioned it I didnt realise you could plug it in as a filter, and it seems to be what I need I'm not sure you reall

Re: How do you handle 'rewrite queries' ?

2009-08-05 Thread Paul Taylor
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 8/5/2009 11:30 AM, Paul Taylor wrote: Thanks actually the default is not picking up the root case, I've got a simpler related issue by war get deployed as searchserver in webapps, is there a way I can

Re: How do you handle 'rewrite queries' ?

2009-08-05 Thread Paul Taylor
Caldarale, Charles R wrote: From: Paul Taylor [mailto:paul_t...@fastmail.fm] Subject: Re: How do you handle 'rewrite queries' ? SearchServerServlet / The above causes the SearchServerServlet to be invoked when there's no path specified in the URI. Yo

Re: How do you handle 'rewrite queries' ?

2009-08-05 Thread Paul Taylor
Caldarale, Charles R wrote: From: Paul Taylor [mailto:paul_t...@fastmail.fm] Subject: Re: How do you handle 'rewrite queries' ? could you tell me how to do the mapping you specify in the tomcat config It's defined in the servlet spec, not the Tomcat config. Read section

Re: How do you handle 'rewrite queries' ?

2009-08-05 Thread Paul Taylor
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 8/3/2009 11:03 AM, Paul Taylor wrote: Hi writing web app to replace an existing open source application (musicbrainz lucene search) that handles queries of the form http:///?query=...&type=...&fmt

How do you handle 'rewrite queries' ?

2009-08-03 Thread Paul Taylor
Hi writing web app to replace an existing open source application (musicbrainz lucene search) that handles queries of the form http:///?query=...&type=...&fmt=... and also the alternative form of http:///ws/type/?query&fmt=... using something called lighttpd.conf , http://bugs.musicbrainz.org/