Hello Harris,
There is problem with the code base parameter of applet tag.
Your are running the servlet page but trying to load the applet from the
local machine.
Copy your code to web servers root directory and modify the codebase
parameter as follows
"<APPLET CODEBASE='/DisplayDriver.class' code='DisplayDriver.class'
mayscript width=0 height=0>" + "</applet>" +
This will solve your problem.
Best Regards
Deepak Kumar.
http://www.roseindia.net
[EMAIL PROTECTED]
----- Original Message -----
From: Steven Harris <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 15, 2000 3:25 AM
Subject: Running applets from servlets
> out.println("<HTML>" +
> "<HEAD>" +
> "<TITLE>Summer Project by Steven Harris</TITLE>" +
> "</HEAD>" +
> "<BODY bgColor=white>" +
> "<center>" +
> "<EMBED SRC='file:///C|/jdk1.2.2/demo/Summer Project/Root.WRL'
> width=980 height=570>" +
> "<APPLET CODEBASE='file:///C|/jdk1.2.2/demo/Summer
> Project/DisplayDriver.class' code='DisplayDriver.class' mayscript width=0
> height=0>" +
> "</applet>" +
> "<p><p>" +
> "</body>" +
> "</html>");
>
> The code above has no problem running and loading the .WRL world (VRML),
BUT
> I can't seem to get it to run the corresponding applet (which incidentally
> encapuslates the VRML world).
>
> Thanks,
>
> Steve Harris
>
>
___________________________________________________________________________
> 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