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

Result definitions are not overridden on subtyping

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 2.0.11.2
    • 2.1.3
    • Plugin - CodeBehind
    • None

    Description

      When inheriting actions, the codebehind plugin is not overriding the definition for the supertype.

      Example:

      @Result(value="foo.jsp")
      public class FooAction ...

      @Result(value="bar.jsp")
      public class BarAction extends FooAction

      Executing bar.action renders foo.jsp anyway.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            lbroman Leonard Broman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment