• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

How to run applet thru Internet Explorer

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
Since applet run within web page and is embeded with html file.
how can we run the html file which include applet as well as other things in <body> tag thru Internet Explorer, without using appletviewer
 
Saloon Keeper
Posts: 22127
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"santosh8"
Welcome to the JavaRanch! We don't have many rules here, but we do have a Naming Policy in order to maintain a more professional atmosphere. You can find out more about it here. Please adjust your display name accordingly. Thanks!
AppletViewer is a standalone program and isn't used in web pages. In order for an applet to run in Internet Explorer a Java plug-in has to be installed. Older systems have this, but newer versions of Windows don't come with one. So if you can't get the browser to display and run the applet, this is probably why.
Other problems you'll probably see are that if you've written your applet to use Swing, the JVMs for IE and Netscape are too old to run the applet. To run Swing-based applets, you'd need to install a Java plug-in from Sun such as .This one.
Finally, the other thing that burns a lot of people is that the AppletViewer allows applets to do things that the sandbox security of a web browser doesn't. This includes reading and writing files, opening network connections to servers other than the one that the applet came from and printing.
 
Don't count your weasels before they've popped. And now for a mulberry bush related tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic