Hi, 
     I wish to call a custom tag, passing a dynamic value for its
attribute. I retrieve the value thus:
 
<c:set var="userid" value="${param.userid}"/>
 
and I wish to call my custom tag passing 'userid' as an attribute.
Curently I have:
 
<my:execute userid="${userid}">
 
but the literal string "${userid}" is passed into the handler. To
acheive the desired results I could of course use:
 
<my:execute userid="<%= request.getParameter("userid") %>">
 
but that would mean embedding JSP, when I wish to encompass all logic in
tags. Does anyone have any suggestions how I might pass the JSTL value,
dynamically to the attribute of my custom tag please?
 
Thanks
 
Paul.
 
 

Reply via email to