This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Rust Web Development and have Bastian Gruber on-line!
See this thread for details.
Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Applet not displaying in Browser

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Team,

I have Created one applet, but it not showing on browser..Please help me out ..as i am new babie in applet.

Thanks
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since you haven't provided any details at all, the best I can offer you is to point you to the Applet tutorial lesson: http://docs.oracle.com/javase/tutorial/deployment/applet/index.html
 
arvind kushwaha
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Darryl Burke

I have created one JSP Known as applet-basic.html taken the help from http://jupload.sourceforge.net/

I had done all the thing which is mentioned on above website. When I running my application its not working in browser. but after clicking on above website/ basic demo/ after clicking on this link applet is asking for digital sinature when i click on yes. Then suddenly my program start working fine.

But when i running only my program is not showing anything in window just a blank window. May be because of digital signature i donot know why please help me out.

Thanks Darryl Burke
 
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you give us the details about how you are embeding the applet into the web page that you are loading to the browser as a test?

Are you using the APPLET tag? The object tag? A script? What is the extension of the Applet file, ".class" or ".jar" or something else?

If you embed with the Object tag, What is the content type (attribute "type=") that you give to the applet, example: application/java, application/x-java-applet? (I have noticed that, at least as of Java SE 6, that the Java plug-in only uses plain and version variations of "application/x-java-*" -- "application/java" isn't being registered as a mime-type in any of my browsers (Firefox, IE, Opera) by the Java installer. So, some of the earlier tutorials on Applets that tell you to use "application/java" don't work anymore.)

application/x-java-* variations being:
"x-java-applet,"
"x-java-bean," or
"x-java-vm"
Plus, perhaps though this is optional, with ";version=" [x.x][.x] (x being a digit) added to the end for targeting specific versions of the JVM instead of running the applet with the latest version of Java installed on the user's machine.
 
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you see on your browser's console? Please copy paste the error message(s)
 
arvind kushwaha
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Sir,

In Browser it show nothing I am attaching my JSP pages

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<applet id="jumpLoaderApplet" name="jumpLoaderApplet"
code="jmaster.jumploader.app.JumpLoaderApplet.class"
archive="jumploader_z.jar"
width="715"
height="500"
mayscript>
<param name="uc_uploadUrl" value="uploadHandler.jsp"/>
</applet>
</body>
</html>

I had taken the reference from http://jumploader.com/

When i clicked on above link my project start working after accepting the applet warning.

But when i run my project without clicking on above link demo page it's show nothing in browser i don't understand why it happening please help me.
error.png
[Thumbnail for error.png]
 
Walter Gabrielsen Iii
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since the problem isn't obvious, you need to open the Java console where you can find any error messages of problems that happen when your browser tries to run the Applet.

It looks like you're using Ubuntu, from your screen shot, so perhaps you may find this useful: How to show java plugin console.
 
arvind kushwaha
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Walter Gabrielsen lii,

I did that whatever is shown on your given link but there is no success.

Anyway thanks
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic