From: Susanne Grabe on
I have a problem with the following situation:

A domain www.aaa.com is linked/forwarded to a sub directory of another domain e.g. www.bbb.com\aaastuff
on another server.

So when a user enters www.aaa.com in his browser all stuff should be retrieved and presented from the directory
of www.bbb.com\aaastuff. This works well in general except one thing:

The web page contains an applet with the definition shown below. Instead of showing the applet
a white rectangle is shown and the java console tells the user:

java.lang.ClassNotFoundException: Logo.class

Why?

Yes, the java class Logo.class exists in a sub directory "classes" resp.
www.bbb.com/aaastuff/classes.

This error appears with Firefox and IntExp under WinXP with JRE 1.6
When I drag the html web page from a directory of my local hard disc
onto the browser everything works fine.

I suspect that the domain forwarding is the culprit.
How can I fix the problem?

The APPLET definition is as follows:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
.....
<applet
codebase="classes" code=Logo.class
id=Logo
width=380
height=655
alt="Logo">
<param name=image value="images/Logo.jpg">
<param name=overlay value="images/logoover.gif">
<param name=href value="intro.html">
</applet>
.....
</HTML>

Susanne

From: markspace on
Susanne Grabe wrote:
> I have a problem with the following situation:
>
> A domain www.aaa.com is linked/forwarded to a sub directory of another domain e.g. www.bbb.com\aaastuff
> on another server.


Argh, follow-ups were sent to comp.infosystems.www.authoring.html.
That's pretty unrelated for any Java groups. This message sent to all
three, just to let folks know there's an unrelated follow-up group on
Susanne's message.