If you are using MIDP, you need to open a HttpConnection. See the java.io API docs for J2ME. You should create the connection and read from it in its own thread. Have the class that initiates the thread pass a reference of itself to the thread so that when the connection is done being read, you can invoke a callback functiion on the original object to give it the data.
- Saish