eudi 9 Octobre 2014 19:15:33
Objet: Re: Standalone pages
Interestingly, if you don’t even need to add a template to the server
(filesystem) at all with Solr’s VelocityResponseWriter:
http://localhost:8983/solr/select?wt=velocity&v.template=t&v.template.t=template%20from%20thin
> I would like to know if it is possible to create lightweight Web pages with
> Velocity, in Tomcat, without resorting to servlets, JSP, etc.
I’m am using a custom server built in java using apache http-core, no J2EE at
all - just a plain old web server and using velocity built into a couple of
ginal -
> De: "Erik Hatcher"
> À: "Velocity Users List"
> Envoyé: Jeudi 9 Octobre 2014 14:59:02
> Objet: Re: Standalone pages
>
> Philiippe - I just noticed you posted this to the velocity user list. How
> Solr uses Velocity is perhaps a bit niche/d
d the results spit out.
>
>
> -Original Message-
> From: phi...@free.fr [mailto:phi...@free.fr]
> Sent: Thursday, October 09, 2014 8:13 AM
> To: Velocity Users List
> Subject: Re: Standalone pages
>
> Hi Erik,
>
> thank you for your reply.
>
> However
t out.
-Original Message-
From: phi...@free.fr [mailto:phi...@free.fr]
Sent: Thursday, October 09, 2014 8:13 AM
To: Velocity Users List
Subject: Re: Standalone pages
Hi Erik,
thank you for your reply.
However, come to think of it, my question is not SOLR-specific.
I would like to kn
Tomcat server as easily as
you can drop a .php file in an Apache server's DocumentRoot directory.
Many thanks.
Philippe
- Mail original -
De: "Erik Hatcher"
À: "Velocity Users List"
Envoyé: Jeudi 9 Octobre 2014 14:59:02
Objet: Re: Standalone pages
Philiippe -
Philiippe - I just noticed you posted this to the velocity user list. How Solr
uses Velocity is perhaps a bit niche/different, so best to ask over on the Solr
user list for future questions about the Solr/Velocity integration. But I’m on
both lists :)
Erik
On Oct 9, 2014, at 4:19 AM,
Philippe -
Here’s how I do it:
- Define a request handler matching the end-point url you want. /test in
your case:
velocity
http://myserver:8983/solr/mycollection/test
>
> returns a 404 error.
>
> http://myserver:8983/solr/mycollection/browse
>
> works,