I have a question over which I have been beating my head against a wall -
perhaps you can help...

I've written a custom tag library that seems to work wonderfully - except
for one significant caviat. The parameters of my tags cannot accept String
values obtained by evaluating a JSP scripting variable. For example, when I
try the following:

<mylib:hello name="<%= yourName %>" />

The entire String literal ("<%= yourName %>") is passed through to the tag
as the value of that parameter. It appears that the JSP engine is not
evaluating the value of this expression prior to setting that parameter of
the given tag. I know the JSTL and Jakarta libraries do not behave this way.

Any ideas regarding what I am missing?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to