I know this is not a GlassFish question. So, any help is appreciated.
In a JSP page, how do I do import static? (The static import, the new Java SE 5.0 feature).
How should I declare the "page" directive?
You can do this:
<%@ page import="static foo.*" %>
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.