How can I perform results page highlighting with the VView API?
To perform results page highlighting with VView, there are several things that will need to be prepared before this feature can be implemented. • You will need to have a collection created using the HTTP gateway. This collection is needed to invoke the HTTP gateway in VView.getDocument(). • You will need to create a results page that will be passed to VView that will display the results with highlight. • Create a servlet that calls VView that will pass the parameters from the search page to the results page. This new URL will be the k2dockey that will be passed as the k2dockey. You can use the snippets of code from the function called “viewWithViewingServer” from k2\samples\web\ templates\jsp\WEB-INF\classes\examples\modules\vview.java for reference to help write a servlet. The string variable, “m_strK2DocKey”, will contain the URL path to the results page, search parameters passed from search page, and the collAlias of the HTTP gateway collection created in step 1. ie. m_strK2DocKey =