DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Page-Loading Java Applet

  1. #1
    Join Date
    Aug 2005

    Page-Loading Java Applet


    thanks for stopping by. For a test if Java applets are being supported by my website visitor's browsers, I need a tiny and simple Java applet, which does actually nothing else than to load automatically a page in a target frame (given as two parameters - page and frame). And which displays a graphic (GIF or JPEG) (another parameter).

    The purpose is that if a visitor accepts Java (s)he is being forwarded to a "Success" page, otherwise (s)he remains on the Java applet page.

    Is there anyone who can create this simple Java applet? I don't have any Java skills. Thanks for time, intention and help! Greetings,


    PS: To Admins: The same thread is inside the "New to Java" forum, but I think it fits better here. On demand please feel free to delete that thread inside the "New to Java" forum. Thanks.

  2. #2
    Join Date
    Mar 2004
    You wouldn't use java to check for support, use javascript or php or whatever your webpage is written in. I'm a little rusty on JS, but this might work.

    <script type="text/javascript">
    	if (navigator.javaEnabled())
    		<meta http-equiv="refresh" content="0; url=hasJava.htm">
    		<meta http-equiv="refresh" content="0; url=nojava.htm">

  3. #3
    Join Date
    Aug 2005
    Greetings "Phaelax",

    thanks for your help. Your example shows a Java script. Does it check for acceptance of Java, or of Java script acceptance?

    I am interested to check for four different things: Java, Java Script, Cookies and Flash.

    You also mention PHP. How would I test for Java and Java script by using PHP? I am programming in PHP.

    The only check I know how to do is the check if cookies are allowed.

    Thanks for your help, greetings,


  4. #4
    Join Date
    Sep 2006

    Question Hi, this is my first mail.....

    Hi, all

    Could u plz help me out in solving a problem......

    My question is ......

    How to embed the Applets into a JSP page.....
    or even into Servlet ...........

    Actually i am using WebLogic Server 8.1 as a Deployment tool.....

    Any body there to help me ..............

    I am waiting for u r help ........................

    thank u ..............................

Similar Threads

  1. Java vs. .Net. A questionnaire
    By Basil in forum .NET
    Replies: 1
    Last Post: 05-13-2005, 06:46 AM
  2. Java applet window
    By crash75uk in forum Java
    Replies: 1
    Last Post: 04-20-2005, 03:32 PM
  3. Replies: 3
    Last Post: 08-23-2001, 11:01 AM
  4. Java Applet won't work via browsers
    By Graham in forum Java
    Replies: 1
    Last Post: 02-20-2001, 02:47 AM
  5. Java Applet staying in memory
    By Alison in forum Enterprise
    Replies: 0
    Last Post: 11-22-2000, 07:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center