Solved

java Applet

Posted on 1997-03-26
3
198 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SHA2 certs for IIS AND Java? 2 122
Desingning Refactoring existing code 2 31
String array comparison 4 45
JDBC performance 8 28
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

740 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