org.apache.struts2.views.annotations

## Annotation Type StrutsTag

-     @Target(value=TYPE)
       @Retention(value=RUNTIME)
      public @interface StrutsTag

  An annotation to document a Struts jsp/freemarker/velocity tag

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String` | `description`
    `String` | `name`
    `String` | `tldTagClass`

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `boolean` | `allowDynamicAttributes`
    `String` | `tldBodyContent`

- - ### Element Detail

    - #### name

          public abstract String name

  - - #### tldTagClass

          public abstract String tldTagClass

  - - #### description

          public abstract String description

  - - #### tldBodyContent

          public abstract String tldBodyContent

      Default:
        "JSP"

  - - #### allowDynamicAttributes

          public abstract boolean allowDynamicAttributes

      Default:
        false

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