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

tags declaring dynamic-attributes=true but not implementing DynamicAttributes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.1
    • Other
    • None
    • 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

        1. first_commit.patch
          6 kB
          Wes Wannemacher

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: