WebWork comes with a utility called WebFlow. WebFlow is used to generate graphical diagrams representing the flow of your web application. It does this by parsing your configuration files, action classes, and view (JSP and Velocity) files.
You can use WebFlow with the following command:
java -cp ... -jar webflow.jar -config CONFIG_DIR -views VIEWS_DIRS -output OUTPUT
Where:
- CONFIG_DIR is the directory where xwork.xml and other configuration files are located
- VIEWS_DIRS is a comma separated list of directories where you JSPs and Velocity files are located
- OUTPUT is the directory where WebFlow will write its files to