![]() |
GuestBook |
<Applet Tag>
| <APPLET CODE=Main.class WIDTH=500 HEIGHT=320 archive="Guest.jar"
codebase="http://www.n.oman.btinternet.co.uk/"> <PARAM NAME="hostaddress" VALUE="http://www.n.oman.btinternet.co.uk/"> </APPLET> |
Parameters
hostaddress
The web address of your
java site containing your servlets, in this case the address as used by my local
tomcat web server.
Instructions
for Use
Download all the Servlet
Files.
Download theClient Files.
Set the password variable in GuestBookViewer.java.
Compile the servlet files
and install them on your java capable webserver.
Save all the Client files into your www directory.
Set the hostaddress parameter value to point to your servlet on the web server.
By changing the contents of BotGuestBook.txt and TopGuestBook.txt the appearance
of your guestbook can be changed to your liking.
When you first run the GuestBook run /servlet/GuestBookViewer?command=setPassword&set=xxx
where xxx is the value of the password in GuestBookViewer.java.
This program uses cookies to store relevant information.
![]()
Servlet Files
Download GuestBookSign.java
Download GuestBookViewer.java
Download CookieRead.java
Client Files
Download TopGuest.txt
Download BotGuest.txt
Download Guest.jar