This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Applets and the fly likes Requesting browser to open a page through Applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Requesting browser to open a page through Applet " Watch "Requesting browser to open a page through Applet " New topic
Author

Requesting browser to open a page through Applet

Rahul Ratnakar
Greenhorn

Joined: Sep 21, 2003
Posts: 2
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

Joined: May 09, 2003
Posts: 62
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
Marshal

Joined: Jul 08, 2003
Posts: 24189
    
  34

Moving to the "Applets" forum.


[Jess in Action][AskingGoodQuestions]
 
Consider Paul's rocket mass heater.
 
subject: Requesting browser to open a page through Applet