org.apache.struts2

## Class Main

- java.lang.Object
- - org.apache.struts2.Main

- Deprecated.

      @Deprecated
      public class Main
      extends 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

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Main.MainClassLoader` Deprecated. Reverses the typical order of classloading to defer only to the parent if the current class loader can't be found.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Main()` Deprecated.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `main(String[] args)` Deprecated.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Main

          public Main()

      Deprecated.

  - ### Method Detail

    - #### main

          public static void main(String[] args)

      Deprecated.

Copyright © 2000–2022 Apache Software Foundation. All rights reserved.