i am new to solr.
i want the result of solr output into jsp format or page
by default it shows result in xml format.
please help me.
i am new to solr.
i want the result of solr output into jsp format or page
by default it shows result in xml format.
please help me.
Basically you need to parse xml on your java code.
Before doing this, you need to find ways to call solr url in your code.
There are several ways of doing this, the basic one is by using org.apache.http.client.HttpClient
to execute post method.
You can then parse the returned data, xml format data and load it on your jsp pages.
Please refer to the following tutorials:
1. Overview on how to use HttpClient
2. Parsing XML using Java