Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to open a web page and checks the http responce

 
vuthlarhi donald
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is the code that I have written but I am still far achieving the results that I want!!! I want it to display the page not in html format, but the real page...
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The page you downloaded is HTML. What do you mean by displaying "the real page"?

If you want to display it you need to save it in a file, and then call a web browser to display it using something like Bare Bones Browser Launcher. Note that the page is not going to look good because it won't be able to load images, CSS, JavaScript etc. (Of course, it would be easier to use this to display the page directly, without downloading it first.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic