Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-1114

Modify PageFlowUtils.strutsLookup() method to work in a lazy servlet reinitialization

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0, 1.0.1, 1.0.2
    • 1.0.2
    • NetUI
    • None

    Description

      Modify the PageFlowUtils.strutsLookup() method to work in a lazy servlet reinitialization scenario. This would just add some code to acquire a request dispatcher to execute an action if the ActionServlet is not available from the ServletContext. The ActionServlet would not be available if the normal servlet initialization has not yet completed. Rather than return null, since we can't call doGet() directly on the servlet, aquire the request dispatcher from the unwrapped outer request and call forward() to trigger the servlet initialization. This code path is not used in a general standalone beehive NetUI web app and only execute in the case that the ActionServlet has not been initilialized.

      Attachments

        Activity

          People

            jzhuo Julie Zhuo
            crogers Howard Carlin Rogers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: