Send a HTTP request

Who is Participating?
israel022697Connect With a Mentor Commented:

URL url = new URL("" );

//Disable cache
url.openConnection().setDefaultUseCaches( false );
DataInputStream dis = new DataInputStream( url.openStream() );
// Read response
sReply = dis.readLine();

Try this :

You can get the response also :
URL url=new URL"");
                                                                                              BufferedReader in=new BufferedReader(new InputStreamReader(url.openStream()));
                                            catch(Exception e2){
                                                  System.out.println("Error  "+e2);
This question was awarded, but never cleared due to the JSP-500 errors of that time.  It was "stuck" against userID -1 versus the intended expert whom you awarded.  This corrects the problem and the expert will now receive these points; points verified.

Please click on your Member Profile and select "View Question History" to navigate through any open or locked questions you may have to update and finalize them.  Or if you are an EE Pro user, click the link below to select open items for your Member ID using Power Search:

This is the Community Support link, if help is needed, along with the link to All Topics which reflects many TAs recently added.
Thank you,
Moderator @ Experts Exchange
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.