Difference between
version 8
and
version 7:
At line 15 changed 1 line. |
By default, it exposes the values from the Contants class imported into the tag library, but also allows a className variable to specify a different class. The main reason I wrote this was to prove it was possible. The second reason was to get around importing Constants and then using |
By default, it exposes the values from the Contants class imported into the tag library, but also allows a className variable to specify a different class. The main reason I wrote this was to prove it was possible. The second reason was to get around importing my Contants class (and using <%=Contants.VARNAME%>). With this tag, both of the following work: |
At line 17 changed 1 line. |
{{{<%=Constants.VARNAME%>}}} |
{{{Scriptlet: <%=VARNAME%>, JSTL: <c:out value="${VARNAME}"/>}}} |
Back to ConstantsTag,
or to the Page History.
|