Check Browser Java application enabled
Java is a high-level, third generation programming language, like C and many others.Java allows you to play online games, chat with people around the world, calculate your mortgage interest, and view images in 3D, just to name a few. It’s also integral to the intranet applications and other e-business solutions that are the foundation of corporate computing.
With some reasons the web browser don’t support Javas ,like user intentially disables,some browsers don’t support.Then we must check the whether user’s web browser has Java enabled.Here we discuss how to handle non Java browser.
We show normal warning message with javascript.
1 2 3 4 5 6 7 | <script> if (navigator.javaEnabled()){ alert('Java Enabled.');//we do our normal action }else{ alert('Java Disabled.');//we warn the user to download or other } </script> |
We redirect the user to seperate UI or seperate sub domain that handles for non java browser.
1 2 3 4 5 6 7 | <script> if (navigator.javaEnabled()){ alert('Java Enabled.');//we do our normal action }else{ document.location="nonjava-html-page.html"; } </script> |









Related Articles
3 users responded in this post
[...] mahesh chari wrote an interesting post today onjava enabled | Php DevelopmentHere’s a quick excerpt [...]
good post
thanks it help me
Leave A Reply