java Programming Glossary: constants.attr_current_user
accessing constants in JSP (without scriptlet) http://stackoverflow.com/questions/122254/accessing-constants-in-jsp-without-scriptlet @ page import com.example.Constants c if test sessionScope Constants.ATTR_CURRENT_USER eq null Do somthing c if But I can't seem to get the sytax correct... tried c set var nullUser scope session value sessionScope Constants.ATTR_CURRENT_USER eq null which didn't work. So instead I tried substituting the.. import com.example.Constants h1 Using scriptlets h1 h3 Constants.ATTR_CURRENT_USER h3 Constants.ATTR_CURRENT_USER br h3 Session Constants.ATTR_CURRENT_USER..
|