Jsp的自定义标签的参数怎么接受Jsp的变量啦???
例如下面的一个标签,是从数据库中读出内容到下列列表框的
<select name="strTrend" id="strTrend">
<option value=""></option>
<Ztags:selectBody selSql="select strObjCode,strObjname from XDict where id=23">
<option value="$vle">$txt</option>
</Ztags:selectBody>
</select>
我想用变量
先定义<%String nnd="select strObjCode,strObjname from XDict where id=23"%>
这儿的参数selSql后面的那个Sql我该成这样 selSql="<%=nnd%>"
但是就不行了,它吧"<%=nnd%>"都传回去了!!怎么办啦??/
我不可能吧后面的参数写死三???