Constant « Tag « JSP-Servlet Q&A





1. Java constants in JSP    stackoverflow.com

I have a class that defines the names of various constants, e.g.

class Constants {
    public static final String ATTR_CURRENT_USER = "current.user";
}
I would like to use these constants within ...