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

URL tag includeParams get functionality does not work under websphere

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.2
    • Plugin - Tags
    • None
    • Websphere 5.1.1.8, 5.1.1.13, 6.1

    • Patch

    Description

      In our testing with webwork, we found that the URL tag includeParams functionality does not work under Websphere 5 and 6. The issue is that after a forward, the call to request.getQueryString() always returns null, regardless of whether there were query parameters for the original request. The fix is to additionally look for getAttribute("javax.servlet.forward.query_string") since this is where this information is stored for 2.4 servlet containers.

      Attachments

        1. websphere-includeparams.patch
          0.6 kB
          Thomas Schneider
        2. Websphere51QueryStringInterceptor.java
          1 kB
          Thomas Schneider

        Activity

          People

            mrdon Donald J. Brown
            tschneider Thomas Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: