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

Extends differences when in single struts.xml compared to imported via includes

    XMLWordPrintableJSON

Details

    Description

      When creating an abstract package and using extends to include it and also another say json-default. When all defined within the same struts.xml it works, but if the package extending both my custom package and json-default is via an include then it doesn't work.

      Either way inheritance, either the single.xml has a bug with multiple inheritance as it works, or includes has a bug as it doesn't work with multiple inheritance.

      The only change is extracting a working package and putting it into a seperate xml file and then including it.

      Attachments

        1. using-includes-struts-public.xml
          0.8 kB
          John Patrick
        2. using-includes-struts.xml
          0.5 kB
          John Patrick
        3. all-in-one-struts.xml
          1 kB
          John Patrick

        Activity

          People

            Unassigned Unassigned
            nhoj.patrick John Patrick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: