org.apache.struts2.config

## Class NullResult

- java.lang.Object
- - org.apache.struts2.config.NullResult

- All Implemented Interfaces:
    Serializable, Result

      public class NullResult
      extends Object
      implements Result

  Null result to get around annotation defaults that can't be null FIXME: ???? is it usable? doesn't it make sense to have such result?
  See Also:
    Serialized Form

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface com.opensymphony.xwork2.Result

      `Result.LegacyAdapter`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `NullResult()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `execute(ActionInvocation invocation)`

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

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

    - ### Methods inherited from interface com.opensymphony.xwork2.Result

      `adapt, execute`

- - ### Constructor Detail

    - #### NullResult

          public NullResult()

  - ### Method Detail

    - #### execute

          public void execute(ActionInvocation invocation)
                       throws Exception

      Throws:
        `Exception`

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