Hi people, I have to build an application that will use Velocity templates for searching and displaying of results. However, the searches must be first pre-processed and analyzed using an external webservice implemented in Python. This module is also in charge of searching the results and can return a JSON object with the final results that the Velocity templates will display. So, my first idea was to change the action url in query_form.vm from
<form id="query-form" action="#{url_for_home}" method="GET"> to <form id="query-form" action="MY_PYTHON_WEBSERVICE_URL" method="GET"> And then sending back the JSON result. However, what I got displayed is the JSON information in text form rather than the velocity generated html pages. So, my question is how can I make Velocity to render the retrieved JSON object. Do I need to modify the class or setup two sytems (one for displaying and the other for searching in solr?) Thanks in advance for your help. Thanks Luis Institute for Infocomm Research disclaimer: "This email is confidential and may be privileged. If you are not the intended recipient, please delete it and notify us immediately. Please do not copy or use it for any purpose, or disclose its contents to any other person. Thank you."