You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Anonymous (JIRA)" <ji...@apache.org> on 2008/10/20 11:35:36 UTC
[jira] Updated: (WW-144) success.jsp returns null references
[ https://issues.apache.org/struts/browse/WW-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Status: Resolved (was: Closed)
> success.jsp returns null references
> -----------------------------------
>
> Key: WW-144
> URL: https://issues.apache.org/struts/browse/WW-144
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Tags
> Affects Versions: WW 2.0-beta1, WW 2.0-beta2
> Environment: Tomcat 4.1.24-LE, Sun jdk1.4.1_01, Win2k
> Reporter: Matt Ho
> Assignee: Matt Ho
> Fix For: WW 2.0-beta2
>
> Attachments: PushTag.java
>
>
> Under Tomcat 4.1.x, the results for the SimpleCounter.action test appear to be giving incorrect results after the first invocation. The first request appears ok. All subsequent requests have
> counter.count (old) == null
> counter.count (new) == 17
> foo is also: null
> rather than
> counter.count (old) == 17
> counter.count (new) == 17
> foo is also: BAR
> Where 17 is counter value that increments by 3 per reload. As mentioned previously, this problem does not occur under Resin 2.1.8.
> I did a little investigating and found that the OgnlValueStack contains 2 elements on the first invocation, but only 1 for each subsequent invocation. This would certainly explain the counter.count (old) issue as the ognl is "[1].counter.count".
> I'm less clear as to what the source of the second problem might be.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.