Good morning!
Here's the deal guys, I have a class that my view is passed that I want to access via JSTL. My question is, does anyone know of a way to access superclass properties of that class?
e.g.
< p >${myClass.greeting}< /p >
Assuming a hypothetical,
class mySuperClass{
private String greeting = "I love stack overflow";
public String getGreeting(){
return greeting;
}
}//end mySuperClass
class myClass extends mySuperClass{
private String notImportant = "I like applesauce";
public String getNotImportant(){
return notImportant;
}//end notImportant
}//end myClass