--- JRD <[EMAIL PROTECTED]> wrote:
>  I have a .JSP where I want to write out the values of them dynamically.
>  
> 
> <c:set var="currentProperty" value="x"/>
> 
> How do I write a <s:property value=""/> using currentProperty that would
> result it showing my actions value (1).
> 
> If I were using runtime expressions I would write it like
> <s:property value="${currentProperty}"/>
> but that is verboten by the tld.

Why wouldn't you just use ${x} (in a JSP 2.0+ container) or <s:property
value="x"/>?

If you're dead-set on using the "currentProperty" thing use
${currentProperty} or <s:property value="currentProperty"/>. 

Or use <s:set name="currentProperty" value="x"/> with either the "bare" JSP
2.0+ notation or via <s:property value="#currentProperty"/>.

Dave



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

Reply via email to