Class Main

  extended by org.apache.struts2.Main

public class Main
extends java.lang.Object

Struts comes with various related tools included in the struts-core-VERSION.jar file. You can access these tools by simply unpacking the Struts distribution and running java -jar struts-core-VERSION.jar. Struts will automatically include all jars in the same directory as the struts-core-VERSION.jar file as well as all jars in the lib directory. This means you can invoke these tools either from within the standard directory structure found in the Struts distribution, or from within your WEB-INF/lib directory.

You can access the help information for these tools by simply running the jar without any arguments.

Nested Class Summary
static class Main.MainClassLoader
          Reverses the typical order of classloading to defer only to the parent if the current class loader can't be found.
Constructor Summary
Method Summary
static void main(java.lang.String[] args)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public Main()
Method Detail


public static void main(java.lang.String[] args)

Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.