hi,
I'm trying to create a java application in which I'm using the java
code snippet provided by Google
"
URL url = new URL("
http://ajax.googleapis.com/ajax/services/search/web?
v=1.0&q=Paris%20Hilton");URLConnection connection = url.openConnection
();connection.addRequestProperty("Referer", "
http://www.mysite.com/
index.html");String line;StringBuilder builder = new StringBuilder
();BufferedReader reader = new BufferedReader(new InputStreamReader
(connection.getInputStream()));while((line = reader.readLine()) !=
null) { builder.append(line);} "
how should I add http referer and the key, I already had a key and I
don't know where should I add it to the java code???