Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

URL hit from JAVA class  RSS feed

 
sreedhar Lackka
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Thanks in advance.
I want to hit one URL from a JAVA application.


It is not executing after "Hello2".
I just want to hit that URL I dont want any output back and if I remove the code after "System.out.println("Hello2")" the URL is not hitting,

Please help me what to do

Regards,
Sree
 
Joe Ess
Bartender
Posts: 9406
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to read the output from the URL. If you don't, you are breaking the HTTP protocol and the server just throws your request away.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!