> i have variable named as var1 in value stack. I can get the value of 
var1
> in my jsp as
> 
>   <s:property value ="var1"/>
> 
> Say its value is childVariable.
> 
> 
> Now value stack has further stored the value of childVariable. I need to
> retrieve the value of childVariable from value stack.
> 
> Something like this but that does not work.
> 
>       <s:property value = '<s:property value ="var1"/>'/>
> 
> Any help ?


That means the value of var1 is another OGNL expression ?

Your action could provide a getter to valueStack. So you could use 
valueStack's method to pass an expression stored in a variable.



Regards,
Christoph

This Email was scanned by Sophos Anti Virus

Reply via email to