you might try:
CODE = "ClientSide1"
Lance
----- Original Message -----
From: Tarek Shaar <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 03, 2000 5:40 AM
Subject: It just does not want to work.
> Hi all,
>
> It is the second time I am posting this message but I had only
> one response so far, can some one help me with this please:
>
> I have a servlet that is calling an applet which is embedded in a HTML
page.
>
> The servlet seems to pick up the HTML page fine using the code
>
> file://This works fine
> String url = response.encodeUrl("http://MyIP:8080/ClientSidePage.html");
> response.sendRedirect(url);
>
> Within my ClientSidePage.html I have an applet:
>
> <APPLET
> CODE = "ClientSide1.class"
> NAME = "ClientSide1"
> WIDTH = 400
> HEIGHT = 300
> HSPACE = 0
> VSPACE = 0
> ALIGN = middle
> >
> </APPLET>
>
>
> When I try to run my applet in Netscape I get the error:
> "java.lang.ClassFormatException: Wrong class name inside class file"
>
> even though the name of my class is ClientSide1.java and the name of the
amin class in the code is the same.
>
> When I run it using IE
> "Can't find class ClientSide1.class!!!!!Why Why !!!
>
> The class file ClientSide1 and the html page clientSidePage.html are
placed in the
> same directory "on my Java Webserver 2.0" in public_html.
>
> I tryed every thing but still the same errors
>
> Thanking every one in anticipation.
>
> Tarek
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html