Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleJavadoc: (org.apache.strutsstruts2.action2.sitegraph.SiteGraph)

Additional information can be found in the JavaDocs:

Wiki Markup
{snippet:id=javadocs-intro|url=org.apache.strutsstruts2.action2.sitegraph.SiteGraph}

Understanding the Output

...

Wiki Markup
{snippet:id=sitegraph-usage|lang=none|url=action2struts2/core/src/main/resources/org/apache/struts/action2/sitegraph/sitegraph-usage.txt}
Warning

You must supply the correct classpath when invoking the SiteGraph tool. Specifically, the XWork jar, SAF Struts jar, and their dependencies must be included in the classpath. Futhermore, you must also include your Action class files referenced in struts.xml. Without the proper class path entries, SiteGraph will not function properly.

...

Wiki Markup
{snippet:id=javadocs-api|url=org.apache.struts.action2struts2.sitegraph.SiteGraph}

The command line version of SiteGraph does exactly this (except for overriding the Writer):

Wiki Markup
{snippet:id=example-api|lang=java|url=org.apache.struts.action2struts2.sitegraph.SiteGraph}