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

Refactor Struts initialization to ServletContextListener

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Nightly Build
    • Future
    • Core
    • None
    • Operating System: All
      Platform: All
    • 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

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

            Dates

              Created:
              Updated: