Servlet
Examples
The
following series of examples demonstrate the most common
implementations for the servlet form of the graph.
The
servlets are of course designed to reside within a servlet
engine on your web server with nothing to install on the
client machine. However for the purposes of demonstration
the following examples are designed to run on the local
machine and require that Servletrunner ( part of the JSDK
environment ) has already been installed. If you haven't
already done so then you should implement the JSDK environment
first, see http://java.sun.com/products/servlet/
If you
wish to view the examples working with your servlet engine
on your web server then in addition to placing the servlet
files on your web server you will also need to modify the
<IMG> tag of the following html pages. Currently the
<IMG> tag is set to point to the local machine,
<img src="http://localhost:8080/servlet/HbarchartServlet?
which should be changed to,
<img src="http://url_of_your_webserver/servlet/HbarchartServlet?
Once
you have installed the JSDK environment please copy all
the files in the ./Examples/servlets/ directory to the JSDK
servlet directory ( usually c:\JSDK2.0\examples\ ). Now
start the ServletRunner and then click on the following
examples,