Using two struts2 taglibs in each other

Posted by Milad.KH on Stack Overflow See other posts from Stack Overflow or by Milad.KH
Published on 2010-05-24T14:47:48Z Indexed on 2010/05/24 14:51 UTC
Read the original article Hit count: 353

Filed under:
|
|

Hi

I want to use two struts taglib in each other, something like this:

< s:properties value="url-< s:properties value="number"/>"/>

or

< s:properties value="url-${number}"/>

but I got the following error in the second one:

According to TLD or attribute directive in tag file, attribute values does not accept any expressions.

Anybody has a solution ?

Thanks

© Stack Overflow or respective owner

Related posts about java

Related posts about struts2