The moose likes Applets and the fly likes running applet in hta Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "running applet in hta" Watch "running applet in hta" New topic

running applet in hta

Ste Lamb

Joined: Feb 05, 2003
Posts: 14
I have an HTML page with an embedded Java applet. I want to be able to package this up into an HTML application, place it on a CD and send out to users. Is it possible to run an applet from an HTA on a CD?
Currently, the applet just sits there gray and does nothing (the rest of the page loads up fine). However, when I run the html page from the CD in a browser, the applet works just fine.
Any ideas are much appreciated - even if its just to say this isn't possible at all.
Brian Pipa
Ranch Hand

Joined: Sep 29, 2003
Posts: 299
You lost me.
If what you are asking is can you run an applet from within a HTML page located on a CD, the answer is yes. I'm not sure what you mean by an HTA (HTML application). Do you mean a web-app(jsps, servlets)? If so, yes it can be done. We need more details on the applet, HTML page, etc. if you still need help.

My Java Freeware:<br />MACCC - <a href="" target="_blank" rel="nofollow"></a><br />Nator - <a href="" target="_blank" rel="nofollow"></a>
Ste Lamb

Joined: Feb 05, 2003
Posts: 14
Thanks for your response and sorry for losing you!
The situation is as follows:
I have an HTML page which may be displayed in a HTML application (hta) or displayed on its own as a flat page. Within this page is embedded a java applet.
I want to run this page from a CD, within a HTML application. When I run it from within a normal browser (Internet Explorer), the page displays fine and the applet starts up ok. However, when I run the page within its own HTML application the applet refuses to start and basically crashes the application.
What makes it more confusing is this behaviour is intermittant depending on the machine.
Could this be a problem with the JVM?
Thanks for any help...
I agree. Here's the link:
subject: running applet in hta
It's not a secret anymore!