Solved

java Applet

Posted on 1997-03-26
3
188 Views
Last Modified: 2013-11-23
I am using AppletAce and I have made some applets to put on my web site.  The problem is they will not work on my site.  They work fine when I load the page from my hard drive.  But from my site I get 1 of 2 errors.  Either it says "Can't find class Banners" or is says something like "java.lang.format.error"  I am sure it is a simple fix but I can't seem to find it.
If you would like to see the page it is at
http://www.magicnet.net/~coffkid/test.htm

thank you
Todd
0
Comment
Question by:coffkid
3 Comments
 
LVL 1

Expert Comment

by:tatti
ID: 1219227
The page you pointed to did not contain any applets, as far as I could see.
0
 

Author Comment

by:coffkid
ID: 1219228
Edited text of question
0
 
LVL 2

Accepted Solution

by:
majkl earned 50 total points
ID: 1219229
Well.
1. Applet loadder probably cannot find classes, because you have it on your hard drive placed elsewhere than on the web page. If you want to load other classes than from standard JDK packages, then is the best thing to put them in same directory from where applet was loaded. You probably have somewhere in applet import statement like import my.clasess.Banners . Tru to put it to same directory as our applet and dont use thi import statement.
2.There was problem when you upload classes. You choose the wrong mode (binary/ascii). Try it again!
This should help!

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Securing Jmx Console and web console 2 66
GUI builder for Eclipse? 8 27
object oriented programming comparison 5 57
table example 4 25
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now