Re: How do you handle 'rewrite queries' ?

2009-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, Sorry, I just saw this message from while ago... On 8/13/2009 8:02 AM, Paul Taylor wrote: Hi, yes I do need rewrite because I need to be able to change a query like http://localhost:8080/ws/1/release/?query=fredfmt=xml to

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

Re: How do you handle 'rewrite queries' ?

2009-08-06 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 leave

Re: How do you handle 'rewrite queries' ?

2009-08-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 8/6/2009 2:17 AM, Paul Taylor wrote: It will be on UNIX so using jsvc looks simple enough OR i could install Apache. IM wondering if Apache is more the more normal way to do things, Im trying to keep things as simple as possible for a non

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://host/?query=...type=...fmt=... and

RE: How do you handle 'rewrite queries' ?

2009-08-05 Thread Caldarale, Charles R
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 11 of the spec. What's in your WEB-INF

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 11 of the spec

RE: How do you handle 'rewrite queries' ?

2009-08-05 Thread Caldarale, Charles R
From: Paul Taylor [mailto:paul_t...@fastmail.fm] Subject: Re: How do you handle 'rewrite queries' ? servlet-mapping servlet-nameSearchServerServlet/servlet-name url-pattern//url-pattern /servlet-mapping The above causes the SearchServerServlet to be invoked when there's

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' ? servlet-mapping servlet-nameSearchServerServlet/servlet-name url-pattern//url-pattern /servlet-mapping The above causes the SearchServerServlet

Re: How do you handle 'rewrite queries' ?

2009-08-05 Thread Robert Koberg
, at 8:30 AM, Paul Taylor wrote: Caldarale, Charles R wrote: From: Paul Taylor [mailto:paul_t...@fastmail.fm] Subject: Re: How do you handle 'rewrite queries' ? servlet-mapping servlet-nameSearchServerServlet/servlet-name url-pattern//url-pattern /servlet-mapping The above causes

Re: How do you handle 'rewrite queries' ?

2009-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 8/5/2009 10:14 AM, Caldarale, Charles R wrote: From: Paul Taylor [mailto:paul_t...@fastmail.fm] Subject: Re: How do you handle 'rewrite queries' ? servlet-mapping servlet-nameSearchServerServlet/servlet-name url-pattern//url

Re: How do you handle 'rewrite queries' ?

2009-08-05 Thread Christopher Schultz
-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 leave it then and get it to pick up

RE: How do you handle 'rewrite queries' ?

2009-08-05 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: How do you handle 'rewrite queries' ? Or when no other mapping matches, right? If you hit this webapp with a URI of /foo/bar then the servlet matching / will be invoked with pathInfo=foo/bar, right? I believe

Re: How do you handle 'rewrite queries' ?

2009-08-04 Thread Christopher Schultz
-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://host/?query=...type=...fmt=... and also the alternative form of