Hi evrybody!
I'm trying to run the RemoteIndy example from
the book "Java Servlets" by K. Moss but my browser can't load the
Applet. (the statebar displays "load class: IndyApplet not found").
I've tried the different suggestions made by Roopa** and Alan Coates*** about
the previous mail titled "Java Web Server" posted by
Nitin.
**Put the applets in the public_html directory and use the server
addr
i.e, http://servername:8080/ as codebase
i.e, http://servername:8080/ as codebase
Roopa
***Basically, you assign a directory to all your
applets. In the web page write:
<applet code="MyApplet.class"
codebase="/mydir" width=100% height=50%>
In the JWS admin applet navigate to "Manage | Setup |
File Aliases". Click on "Add". In the "Alias
Pathname" enter "/mydir" (without the quotes); in "Full
Pathname" enter "c:/jws-applets" (or whatever - without the
quotes). Click "Save".
Alan Coates
In order to run the program K. Moss says "Don't forget to
place the applet and all suporting classes on your Web Server CLASSPATH so that
the client browser can locate them". I can't find anything about JWS
classpath in the administration tool.
Thanks for your help !
Ibrahim Tangara