Error:Loading java applet failed

R

rajbala.3399

Hi all,
I have the netbeans IDE5.5 in my system and redhat9.While i run my
plugin or beans program in JSP the output you see an image that looks
like a small white box with a Red X in it. Or, the browser cannot
display the chat applet, and shows the error message "Loading Java
Applet Failed...".

I gone through the below sites and i tried each and every thing but it
didn't work not only this no. of site to get solve but no use.

http://www.java.com/en/download/help/5000040200.xml

Please give me suggestion for my problem,
-raju
 
A

Andrew Thompson

Hi all,
I have the netbeans IDE5.5 in my system and redhat9.While i run my
plugin or beans program in JSP the output you see an image that looks
like a small white box with a Red X in it. Or, the browser cannot
display the chat applet, and shows the error message "Loading Java
Applet Failed...".

Why are you writing an applet? (As opposed to - for
example - a web launched application? )

What is this applet supposed to do that cannot
be provided another way?
I gone through the below sites and i tried each and every thing but it
didn't work not only this no. of site to get solve but no use.

http://www.java.com/en/download/help/5000040200.xml

That page is mostly about checking that your Java
is running OK, can you load other applets?
E.G. <http://www.physci.org/test/applet/001/>

Andrew T.
 
R

rajbala.3399

Why are you writing an applet? (As opposed to - for
example - a web launched application? )

What is this applet supposed to do that cannot
be provided another way?
hi,
writing applet is not main view. I want to run pulgins in my mozilla.
In the JSP example i tried to plugin or anything to run Applet/java
program but it opening with red mark and below write as Loading Java
applet is failed.

And about this link " http://www.physci.org/test/applet/001/ "
I can able to saw applet with dialog and frame. So running the applet
is not problem. While i use in JSP example and saw the out on mozilla
then error is came..

thankQ
 
A

Andrew Thompson

(e-mail address removed) wrote:

please answer these two questions..
Each by themselves.
....
writing applet is not main view.

Isn't it?
...I want to run pulgins in my mozilla. .....
And about this link " http://www.physci.org/test/applet/001/ "
I can able to saw applet with dialog and frame.

OK - so we have established that your mozilla
can see that applet, and therefore the Java
Plug-In, is installed and configured for your
Mozilla.

As far as I recall, that applet is Java 1.2+(?)
but...
In the JSP ...

I was about to mention before, but some good advice
is 'do not test applets in JSP - test in HTML'
(then write a JSP version).

So, ...
..example i tried to plugin or anything

anything? no.. we have already eastablished that
this browser can open Java 1.2+ applets.

It does *not* seem like there is any problem with the browser!
... to run Applet/java
program but it opening with red mark and below write as Loading Java
applet is failed.

For *your* applet! (As I understand those words)
... So running the applet
is not problem. While i use in JSP example and saw the out on mozilla
then error is came..

As far as I understand now, is what I *suspected* before..

Your applet (or JSP) is broken.

There might be errors listed int the Java console of
your mozilla - since I don't use it - I cannot tell you
where to find it, but there should be a menu item
to open the console.

Listing errors in the console might depend on the
code (which you have not show) or the HTML that
the JSP writes (for which, we have no URL).

So - if you really want to debug your *applet*,
and cannot do it by using the console in your own
browser, we would need a lot more details from you
(or preferably a link to the broken applet) to help
much more.

That phrase is 'thank you', and two more points:
- you will get more respect, and attention, if you
make attempts to spell words correctly, rather
than use 'cute' abbreviations.
- 'please' and 'thank you' are generally considered
to be a waste of bandwidth. Stick to the facts
(and possibly a question!).

Andrew T.
 
R

rajbala.3399

At first Thank you for your prompt Reply.

I want use applet to run an AVI file in web browser. I have an
applet program which is perfectly .

ok you didn't get my point . Just i want to run a java file on
mozilla by using plugin/embed anything.

As far as I recall, that applet is Java 1.2+(?)

I had netbean IDE5.5.

Problem I face:

I had a media player program in java , i wan
to run that program in Mozilla. For i wrote a JSP program and tag a
plugin/embed/object for example

1:
<jsp:plugin type="applet" code="Clock2.class"
codebase="applet" jreversion="1.2" width="160" height="150" >
<jsp:fallback>
Plugin tag OBJECT or EMBED not supported by browser.
</jsp:fallback>
</jsp:plugin>

2:
<object
classid =" clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
codebase ="
http://java.sun.com/update/1.4.2/jinstall-1_4-windows-i586.cab#Version=1,4,0,0"
WIDTH = 120 HEIGHT = 120 >
<param NAME = CODE VALUE = TicTacToe.class >
<param NAME =" type" VALUE ="
application/x-java-applet;version=1.4">
<param NAME =" scriptable" VALUE =" false">

<COMMENT>
<embed
type =" application/x-java-applet;version=1.4" \
CODE = TicTacToe.class \
WIDTH = 120 \
HEIGHT = 120 \
scriptable = false \
pluginspage ="
http://java.sun.com/products/plugin/index.html#download">
<noembed>
alt="Your browser understands the &lt;APPLET&gt; tag but
isn't running the applet, for some reason."
Your browser is completely ignoring the &lt;APPLET&gt; tag!
</noembed>

</embed>
</COMMENT>
</object>


When i run this program i got Red X image displayed where the applet
should be But Applets won't run .

For your clarity below i mentioned the link . I got the same
image which is apper in that and i had i gone through the solution
mentioned in it but no use .

" http://www.java.com/en/download/help/5000040200.xml "
Please check it once the above link.
Kindly give me suggestion for my error.
Thank you.
-Raju
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,710
Latest member
bernietqt

Latest Threads

Top