Volker Krebs wrote:
we recently update from struts 2.0.14 to struts 2.1.6
In struts 2.0.14 org.apache.struts2.dispatcher.StrutsRequestWrapper
was delegating to the Value Stack.
This meant that in my JSP Page:
<s:property value="foo"/>
was the same as
${foo}
With struts 2.1.6 this doesn't seem to work.
How can I enable it ?
updates on this one!
I debugged into
org.apache.struts2.dispatcher.StrutsRequestWrapper.getAttribute(String)
And the Action itself is not on the value Stack when the RequestWrapper
is invoked. That's why access to the value stack with JSTL returns no
Objects.
I have to find the place where the Action itself is placed onto the
value stack and see what has changed between 2.0.14 and 2.1.6.
It must be assured, that the value stack contains the action itself when
StrutsRequestWrapper is invoked.
Any help still would be appreciated.
Using JSP EL notation to access action properties works fine for me.
Can you be more specific regarding the action, JSP, etc?
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org