Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-2804

Refactor Struts initialization to ServletContextListener

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Nightly Build
    • Fix Version/s: Future
    • Component/s: Core
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
    • Bugzilla Id:
      39040

      Description

      Opening an enhancement ticket in order to generate some discussion and possibly
      give a volunteer an idea for a project

      As part of migrating to Action 2, I thought that it might be a good idea to try
      to have Struts configured by a ServletContextListener instead of concentrating
      that initialization in the servlet. The main idea would be that this would
      steer any compatibility solution towards dispatching requests using a single
      mechanism (presumably a future version of WebWork's FilterDispatcher) which
      could set up a better framework for sharing and blending than simply leaving a
      Struts 1.x ActionServlet in your config until you've factored out all of your
      actions.

      There would be a lot of tasks to this, but it seems that the first would be
      simply factoring the initialization code out of ActionServlet in the Struts 1.x
      line so that its basic functionality can be verified in the field.

      Comments? Volunteers?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              germuska Joseph Lad Germuska
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: