Hello list,

as suggested below, I tried to implement a custom ResponseWriter that would 
evaluate a JSP but that seems impossible: the HttpServletRequest and the 
HttpServletResponse are not available anymore.

Have I missed something?
Should I rather do a RequestHandler?
Does anyone know an artificial way to run a JSP? (I rather not like it).

thanks in advance

paul


Le 2 févr. 2011 à 20:42, Tomás Fernández Löbbe a écrit :

> Hi Paul, I don't fully understand what you want to do. The way, I think,
> SolrJ is intended to be used is from a client application (outside Solr). If
> what you want is something like what's done with Velocity I think you could
> implement a response writer that renders the JSP and send it on the
> response.
> 
> Tomás
> 
> 
> On Mon, Jan 31, 2011 at 6:25 PM, Paul Libbrecht <p...@hoplahup.net> wrote:
> 
>> Tomas,
>> 
>> I also know velocity can be used and works well.
>> I would be interested to a simpler way to have the objects of SOLR
>> available in a jsp than write a custom jsp processor as a request handler;
>> indeed, this seems to be the way solrj is expected to be used in the wiki
>> page.
>> 
>> Actually I migrated to velocity (which I like less than jsp) just because I
>> did not find a response to this question.
>> 
>> paul
>> 
>> 
>> Le 31 janv. 2011 à 21:53, Tomás Fernández Löbbe a écrit :
>> 
>>> Hi John, you can use whatever you want for building your application,
>> using
>>> Solr on the backend (JSP included). You should find all the information
>> you
>>> need on Solr's wiki page:
>>> http://wiki.apache.org/solr/
>>> 
>>> <http://wiki.apache.org/solr/>including some client libraries to easy
>>> integrate your application with Solr:
>>> http://wiki.apache.org/solr/IntegratingSolr
>>> 
>>> <http://wiki.apache.org/solr/IntegratingSolr>for fast prototyping you
>> could
>>> use Velocity:
>>> http://wiki.apache.org/solr/VelocityResponseWriter
>>> 
>>> <http://wiki.apache.org/solr/VelocityResponseWriter>Anyway, I recommend
>> you
>>> to start with Solr's tutorial:
>>> http://lucene.apache.org/solr/tutorial.html
>>> 
>>> 
>>> Good luck,
>>> <http://lucene.apache.org/solr/tutorial.html>Tomás
>>> 
>>> 2011/1/31 JOHN JAIRO GÓMEZ LAVERDE <jjai...@hotmail.com>
>>> 
>>>> 
>>>> 
>>>> SOLR LUCENE
>>>> DEVELOPERS
>>>> 
>>>> Hi i am new to solr and i like to make a custom search page for
>> enterprise
>>>> users
>>>> in JSP that takes the results of Apache Solr.
>>>> 
>>>> - Where i can find some useful examples for that topic ?
>>>> - Is JSP the correct approach to solve mi requirement ?
>>>> - If not what is the best solution to build a customize search page for
>> my
>>>> users?
>>>> 
>>>> Thanks
>>>> from South America
>>>> 
>>>> JOHN JAIRO GOMEZ LAVERDE
>>>> Bogotá - Colombia
>>>> 
>> 
>> 

Reply via email to