This example demonstrates how to implement both the applet and servlet together
so that all the interactive features of the applet are presented to the user and also giving the user the option of printing the
page containing the graph.
On this page we implement the servlet ( which acquires both the configuration
and graph data from data files). This page is almost identical and contains the servlet implementation which is universally printable.
The configuration data is acquired from the text file barprops.txt
(click here to view)
and the graph data is acquired from the text file bardata.txt (click here to view).
and here is the HTML code,
For a full explanation of and range of values for the above parameters please
see the Documentation - Configuration Options».
« back to Examples Index
« back to Getting Started