Hi All,
I need to create a custom tag that can modify its body to include scriptlet elements. For example, if a JSP declaration looks like:
<cda:module />
In the custom tag implementation, I want to add
dynamic scriptlet code such as
<%= new java.util.Date().toString()%>
I tried adding this extra code within the
doInitBody
method; however, while it seems to add the static text into the final output, the dynamic scriptlet code does not get evaluated at all.
Any help will be appreciated.
Thanks,
Raja