title: How to display a pdf file in browser by passing a search string and need to display that page 1st with contains highlighted search string using java
body: <p>I already done with displaying a pdf file in browser and i am passing a search string, but it parsing the string into words and then searching in the pdf file .I want whole string search in pdf file directly when i pass the search string</p>
  
  <p>In java ,i done  a project tool for pdf search engine where i used the lucene 3.x and pdfbox0.7 works similar google search engine ...</p>
  
  <p>1) Enter the search string in the text box</p>
  
  <p>2) When click on search it will search in the pdf files and display the matched result as a fragment of some text from file ,displays in the result with highlighted words in the result</p>
  
  <p>3) Now when user clicks on the results found it should open the pdf file and the search string must be highlighted in the pdf file...</p>
  
  <p>&lt; object data=".&lt;%=filename%>#search=&lt;%=key1%>&amp;view=FitBH,top&amp;toolbar=0" type="application/pdf" width="1350" height="650"> alt : &lt; a href=".&lt;%=filename%>">test.pdf&lt; /a>  &lt; /object></p>
  
  <p>it is displaying the pdf file in browser with highlighted words of a search string but i need the whole string need to be highlighted...</p>
  
  <p>PLease help me</p>