Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

cannot able to reterive value comes as null  RSS feed

 
balamurugan velliambalam
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using the above code i only get null value as result.It is local host only i cannot able to getvalue.

 
Jinal P Shah
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you try running the URL in the browser and got the result you desire? And if it works you can try this code and see. This should work.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not use a java.net.HttpURLConnection so you can examine the returned response code and response headers?

Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!