How to get the response sent from another website into my servlet....?

if i create a servlet to call another website with some parameters in the URL i send e.g. below...

http://maps.google.com/maps/geo?q=1600+Amphitheatre+Parkway,+Mountain+View,+CA&output=xml&key=abcdefg

this will send an xml ....

what i need to know is how to make this request from a servlet and get the response in a string and store in a database....the objective is to parse the response and not to display it in browser...

In addtion, this problem is not just directed to google maps, but for all websites. How can we get the response it sends into a servlet where we can then process / scan the html it sends?

I would be so grateful if some knows the way of overcoming this problem :S

[734 byte] By [rohit_violina] at [2007-11-26 15:00:32]
# 1
Use an HttpURLConnection to the address and read the response. Read http://www.javaworld.com/javaworld/jw-03-2001/jw-0323-traps.html to learn how to use it.
stevejlukea at 2007-7-8 8:49:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...