Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Requesting browser to open a page through Applet  RSS feed

 
Rahul Ratnakar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI All ,
am trying to call a web page through an Applet using the HttpURLConnection , however i am not interested in retrieving
the input stream thru the getInputStream() method , instead i want the
browser to handle the response and paint the page .
Just wondering if this is easier than what i am making it out to be ......
any help will be thankfully appreciated .....
 
Torsten Schippel
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rahul,
if you need no information out of the html you can use
this.getAppletContext().showDocument("...url...",targetWindow);
Regards
Torsten
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the "Applets" forum.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!