org.apache.struts2

## Interface Preparable

- All Known Subinterfaces:
    Preparable

      public interface Preparable

  Preparable Actions will have their `prepare()` method called if the `PrepareInterceptor` is applied to the ActionConfig.
  Author:
    Jason Carreira
  See Also:
    `PrepareInterceptor`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `prepare()` This method is called to allow the action to prepare itself.

- - ### Method Detail

    - #### prepare

          void prepare()
                throws Exception

      This method is called to allow the action to prepare itself.
      Throws:
        `Exception` - thrown if a system level exception occurs.

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