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

Impossible to select alternate default VelocityManager bean

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.1.1
    • 6.2.0
    • Core, Plugin - Velocity
    • None

    Description

      I'm possibly missing something here but as far as I can tell struts-plugin.xml is always loaded before struts.xml.
      This means the default VelocityManager bean (#registerBeanSelection) will always be selected before the default bean can be configured via struts.velocity.manager.classname

      Changing the load order here probably isn't a good solution either.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kusal Kusal Kithul-Godage
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m