• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

calling an applet from a HTML page

 
srikanth narra
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a hyperlink in a HTML page.click of this link should execute one of my applets.I havent done this before.I will be glad if any one can present a piece of code and make things easy for me.
Thanx.
 
Sean Casey
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what you are trying to do. An applet can't stand alone, it needs to be part of the web page. One solution may be to have your hyperlink within an applet and when clicked have a frame appear(part of the applet of course). But I'm not sure what you are getting at.
 
srikanth narra
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have an applet and a html file in same directory.when i run the HTML file in a browser i have a hyperlink which when clicked should execute the applet.This HTML file is not the file we write when we write an applet and call that with applet viewer.Hope you got what i am saying.I will be glad if u can answer the other Q posted by me.Thanx for your fast and prompt reply.
Srikanth Narra.
 
Sean Casey
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think what you want to do is possible. An applet cannot stand alone. It must be embedded in an html file.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic