-
Page-Loading Java Applet
Greetings,
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,
Sven
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.
-
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.
Code:
<script type="text/javascript">
if (navigator.javaEnabled())
{
<meta http-equiv="refresh" content="0; url=hasJava.htm">
}
else
{
<meta http-equiv="refresh" content="0; url=nojava.htm">
}
</script>
-
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,
Sven
-
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
-
Replies: 1
Last Post: 05-13-2005, 06:46 AM
-
By crash75uk in forum Java
Replies: 1
Last Post: 04-20-2005, 03:32 PM
-
By Charlie Flynn in forum Java
Replies: 3
Last Post: 08-23-2001, 11:01 AM
-
Replies: 1
Last Post: 02-20-2001, 01:47 AM
-
By Alison in forum Enterprise
Replies: 0
Last Post: 11-22-2000, 06: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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks