Anyone know why my scriptlet in the following <html:link> tag is not being
evaluated?
******************************************************************************
<%
String somepage= "index.jsp";
%>

<html:link page="<%=somepage%>">Click Here</html:link>
******************************************************************************

The value showing up is not the evaluted scriptlet, but the scriptlet
itself, as in "http://localhost:8080/myapp/<%=somepage%>"

I'm using Tomcat4.0 & Struts1.0

Scriptlets are evaluated in other custom tags I have used so I don't think
it's a jasper issue...  I don't htink it has to do w/ the taglib either...
What's up???

Thanks,
-Craig

To be sure, the page attribute accepts a rtexprvalue:
<attribute>
<name>page</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>

Reply via email to