Annotation Interface Sprout.Forward

Enclosing class:
Sprout

@Target(METHOD) @Retention(RUNTIME) protected static @interface Sprout.Forward

Specifies a local forward. Equivalent to adding a forward mapping within an action mapping in struts-config.xml.

It is possible to define multiple forwards by providing parameters as arrays.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Forward name.
    Forward path.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean[]
    Whether this forward is a redirect.
  • Element Details

    • name

      Forward name. Corresponds to name property.
    • path

      Forward path. Corresponds to path property.
    • redirect

      boolean[] redirect
      Whether this forward is a redirect. Corresponds to redirect property.
      Default:
      {}