No it doesn't add local variables to the stack. You can add values to
the stack by hand, but in this case all you need to do is set a field
in your action with the value that you want, and add a getX() method.

musachy

On 9/10/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote:
> Hi so I have a question about this thing. When I create a variable in Java
> Action class right before returning to a result I create a variable: String
> blah = "blah string"; Does that variable get put automatically on
> ValueStack. I tried assuming it does and I tried displaying the value of it
> by using the <s:property value="${blah}"> and also %{blah} and seriously no
> luck. I know I can say <s:property value="variableName"> where variableName
> is in my VO which is being used by ModelDriven and I know that works cuz I
> have tried it. So does creating a variable in Java puts automatically on
> ValueStack for later I can access if so how do I access it and if not how do
> I put it in ValueStack. Any help would be greatly appreciated.
>
> Thanks.
>
> --
> Pavel Sapozhnikov
> xFact, Inc
> [EMAIL PROTECTED]
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to