guestbook by XdebugX
XdebugX@hotmail.com
http://www.xdebugx.net
This is a guest book, server application and client applet. The applet is GUI for viewing and adding guest comments. The comments are kept in the file guestbook.dat as text. The applet reads the comments from the this file. The applet connects to the application on the server to have it write a new entry.
The server must be running on the same machine that the client applet is hosted on. To run the server you need the Java Runtime Environment installed. If you dont have the jre go to http://java.sun.com where you can get it. Run the file guestServer.class on your webserver with the jre. Such as:
java guestServer
:from the command line.
To put the applet on a web page you much imbed an applet tag in the html. Use one similar to this, with your specifications.
code="guestbook.class" <-- this tells the webpage what java file to run, it should not be changed.
codebase=directory of files
width="800" height="600" <-- this tells the webpage how big the applet is, it should not be changed.
<-- this tells the applet what file to load for the guestbook entries. As of this version it should not be change because the server uses this file name.
<-- this tells the applet the ip address of the server that the application is running on. This should be changed to the ip address of your webserver.
<-- this tells the applet the port number to use. As of this version it should not be changed because it is hardcoded in the application.
If you have any questions email me at xdebugx@hotmail.com