You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Tom Schneider (JIRA)" <ji...@apache.org> on 2006/12/16 16:45:57 UTC
[jira] Updated: (WW-1563) URL tag includeParams get functionality
does not work under websphere
[ http://issues.apache.org/struts/browse/WW-1563?page=all ]
Tom Schneider updated WW-1563:
------------------------------
Attachment: websphere-includeparams.patch
This patch modifies the default request wrapper to look first in the getQueryString method and if not found there, then in getAttribute("javax.servlet.forward.query_string"). This should allow it to function on both Websphere and Tomcat platforms. I'll be testing this on Monday with a patched version of Webwork 2.2.4.
> 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
> 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