how to get response body from a specified URI

Hi, I want to get response body from a specified URl in jsp. I know that I need to use request.getInputStream(). However, how do I specify the URL?Thanks,
[175 byte] By [babychickena] at [2007-11-27 2:30:38]
# 1
Do you mean something like http://java.sun.com/docs/books/tutorial/networking/urls/readingURL.html ?
BalusCa at 2007-7-12 2:44:36 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...