Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2006

Tip: Looking for answers? Try searching our database.

how to test an applet has been loaded for execution

Thread view: 
subbu - 27 Jul 2006 15:28 GMT
hi all,
When no JVM is there then applet would be loaded. i want this scenario
to be handled..

Also when signed applets failed to get verifed it shows warning.. when
user has rejected to run the applet.. Then applet would run.. I want
this to be handled at the rigth way..

so for i used

<script>
window.document.onunload ="checkApplet();";
function checkApplet()
{
       try
       {
           document.applets["myapplet]".getCodeBase();

       }
      catch (err)
      {
            //exception will occcur when applet fails for any reason
      }

}
</script>

but i want checkApplet function to execute when applet as soon failure
occurs..

Thanks,
subbu
Andrew Thompson - 27 Jul 2006 18:25 GMT
(possible repost on my part)
..
> When no JVM is there then applet would be loaded. i want this scenario
> to be handled..
...
> <script>

Have you considered that the browser with no JVM
might also have no Flash, no *JavaScript*?

The most reliable way to handle 'no JVM' is valid HTML
that keeps the end-user informed of any problems.

Andrew T.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.