I need to reference some constants held in a java interface, (they were put there by previous developers). But the problem of course is you get the error message:
javax.el.ELException: The class [com.foo] must be public, non-abstract and not an interface
What is the best way to go about accessing these constants? I have a workaround where I implement the interface in a class file and reference the constant from there in my jsp file. But it seems a bit of a roundabout way of doing it. Is there a better solution?