The moose likes Applets and the fly likes Applets-----To------HTML page  .....How? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Applets
Reply Bookmark "Applets-----To------HTML page  .....How?" Watch "Applets-----To------HTML page  .....How?" New topic
Author

Applets-----To------HTML page .....How?

anand rk
Greenhorn

Joined: Feb 07, 2001
Posts: 25
Hello,
How can i call an html file from the web or a network from an applet .
The applet has a button and on clicking it i should open the html page.
Can any one help me out
Anand
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Try the URL class.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Philip Pross
Ranch Hand

Joined: Jan 17, 2001
Posts: 76
Sure there is a way... you can implement HTML and JavaScript together, it all depends on what you what to do!!
Reddy G
Greenhorn

Joined: Feb 14, 2001
Posts: 2
Try using showDocument(URL url) or showDocument(URL url, String target) methods of AppletContext.
 
 
subject: Applets-----To------HTML page .....How?
 
Threads others viewed
Passing String[] from jsp to applet
how to send a message from applet to applet ????
html+applet+servlet=how to do
applet - rmi communication
Parameters in HTML/Applet
IntelliJ Java IDE