Originally posted by Chitti pokala:
I am accessing the constant from an Interface not from a class.
Please let me know how to access a constant from an interface within JSTL.
Thanks in advance.
You cannot reference either a constant or a scripting variable from the EL. You will need to set the value as a scoped variable for it to become EL-accessbile.
Which would mean that somewhere you would need to set that constant as a scoped variable. For example...
Then you can access someValue in your JSP via EL/JSTL.