aspose file tools*
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
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: 24184
    
  34

Moving to the "Applets" forum.


[Jess in Action][AskingGoodQuestions]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Requesting browser to open a page through Applet