struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Schneider (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-1563) URL tag includeParams get functionality does not work under websphere
Date Mon, 18 Dec 2006 19:57:57 GMT
    [ http://issues.apache.org/struts/browse/WW-1563?page=comments#action_39126 ] 
            
Tom Schneider commented on WW-1563:
-----------------------------------

I have verified that the fix does not work for Websphere 5.1.  The query string information
is not available anywhere in the request via the standard servlet API after a forward.  To
get this functionality to work under Websphere 5.1, we would have to save off the query string
information somewhere in the request and look for it in that location in the URL tag.  Since
Websphere 5.1 is not Servlet spec 2.4 compliant, (it supports servlet spec 2.3) then I don't
think struts2 needs to support Websphere 5.1.

> URL tag includeParams get functionality does not work under websphere
> ---------------------------------------------------------------------
>
>                 Key: WW-1563
>                 URL: http://issues.apache.org/struts/browse/WW-1563
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Views
>    Affects Versions: 2.0.1
>         Environment: Websphere 5.1.1.8, 5.1.1.13, 6.1
>            Reporter: Tom Schneider
>         Assigned To: Don Brown
>             Fix For: 2.0.2
>
>         Attachments: websphere-includeparams.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message