Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2477

tags declaring dynamic-attributes=true but not implementing DynamicAttributes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.1
    • Component/s: Other
    • Labels:
      None
    • Environment:

      any

      Description

      When a tag is declared having <dynamic-attributes>true</dynamic-attributes>, the tag-class must implement the javax.servlet.jsp.tagext.DynamicAttributes interface. If the tag's class does not implement this interface, then the application server will throw a 500 any time a page is accessed that contains the "unsafe" tag.

        Attachments

          Activity

            People

            • Assignee:
              wesw@wantii.com Wes Wannemacher
              Reporter:
              wesw@wantii.com Wes Wannemacher
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: