How to eval ${var} in Custom Tags?

I'm a newbie in writing custom tags (JSTL), may I know how do I evaluate "${var} "'s value in my Custom Tags.

e.g.:

Java

publicclass MyTagextends TagSupport{

private String value =null;

publicvoid setValue(String value){this.value=value;}

...

}

TLD

...

<tag>

<name>link</name>

<tag-class>MyTag</tag-class>

<body-content>JSP</body-content>

<attribute>

<name>value</name>

<required>false</required>

<rtexprvalue>false</rtexprvalue>

<type>java.lang.String</type>

</attribute>

...

JSP

<%@ taglib uri="http://myTags.com/m" prefix="m" %>

<%@taglib uri="http://java.sun.com/jstl/core" prefix="c" %>

<c:set var="var" value="test"/>

<m:link value="${var}"/>

But things seems not right ...

however if I put like following it works:

<m:link value="test"/>

Thanks and Regards,

Avatar Ng

(http://avatar21.superihost.com/)

[1728 byte] By [Avatar_Nga] at [2007-11-26 14:51:53]
# 1
If you're using JSP 2.0, you can simply change <rtexprvalue> to true.
serlanka at 2007-7-8 8:40:07 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
And if you arent using a jsp 2.0 container, you can plugin the [url http://jakarta.apache.org/commons/el/]Apache Commons EL[/url] engine and apis to custom evaluate ${...} text. You still need to turn rtexprvalue on though.ram.
Madathil_Prasada at 2007-7-8 8:40:07 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
turn that on ard, nothing happened. However I had achieved it in coding, by referring to core-set source file.Thanks. Problem resolved.Message was edited by: Avatar_Ng
Avatar_Nga at 2007-7-8 8:40:07 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...