boolean « Property « JSP-Servlet Q&A





1. getting boolean properties from objects in jsp el    stackoverflow.com

I have an instance of the following object in the jsp page context:

Class User{
  private boolean isAdmin;
  public boolean isAdmin(){return isAdmin}
}
How can I query the isAdmin property from ...

2. Java: how to name boolean properties    stackoverflow.com

I just had a little surprise in a Webapp, where I'm using EL in .jsp pages. I added a boolean property and scratched my head because I had named a boolean "isDynamic", ...

3. Cannot read Boolean property in JSP EL    stackoverflow.com

If an object property is declared as of type Boolean (not primitive boolean) then there seem to be a problem in EL recognizing it! Say you have the following object

class Case{
  ...