I have code in my servlet which getting search string from client and redirecting this search string to Google ( using response.sendRedirect(URL)
) to run the search.
basically I am redirecting to following URL :
" + searchString
When I am doing a redirect, browser returning google website with search results.
I'd like my servlet to retrieve search results from Google and display them on my own page, but not on Google page.
Does anyone know how to do that ?
I really appreciate your help.