Servlet
Example 1
In this
example the servlet will acquire both the configuration
and graph data from text files.

The
configuration data is acquired from the text file pieprops.txt
(click here to view)
and the graph data is acquired from the text file piedata.txt
(click here to view).
and
here is the HTML code,
<img
src="http://localhost:8080/servlet/PiechartServlet?
config=http://www.jpowered.com/pie_chart/Examples/pieprops.txt&
data=http://www.jpowered.com/pie_chart/Examples/piedata.txt"
width="600" height="420">
For
a full explanation of and range of values for the above
parameters please see the Documentation.
Note:
If you are using the evaluation version then in the applet
a pop-up window will appear upon the startup and an evaluation
message will be incorporated by the servlet. Both these
features have been removed from the licensed version.
Licensing information can be found at