void loadCommandFile(String)

Syntax myPopChart.loadCommandFile(commandfile);

JavaBean Syntax <JSP:setProperty name="myPopChart" property="loadCommandFile" value="commandfile" />

Description Instructs PopChart Server to load server commands from a server command file.

Commands in a server command file are processed after all other server commands, meaning they will override commands specified outside of the server command file.

For more information on server commands and server command files, refer to Chapter 6, "Server Commands."

Parameters The loadCommandFile() method accepts the following parameters.

commandfile

Filename | URL

The path to and location of the server command file that you want PopChart Server to use. This file is relative to PopChart Server's document root. You can also specify an absolute path or URL.

Make sure that the file is accessible from the machine that PopChart Server runs on. Also make sure that your path.xml file permits PopChart Server to read from this path (see "Setting Path Permissions" in Chapter 3 of the PopChart Server User Guide).