Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

use String var in customtag

Status
Not open for further replies.

maxpower1

Programmer
Jul 29, 2001
488
US
i have a String var in the jsp page and everytime i try to pass the value, it fails.

<%
String xa = &quot;hello&quot;;
%>

...

<mycustomtag:mytag paramValue=&quot;<%=xa%>&quot;/>


but when i trace the value it passes &quot;<%=xa%>&quot; instead of the value &quot;hello&quot;. Am i missing anything? thx.

~za~
You can't bring back a dead thread!
 
never mind. figured it out. i forgot to include data type in the tag descriptor file.

~za~
You can't bring back a dead thread!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top