P
pluck
I would like access properties as well as elements of a bean inherited
from ArrayList.
Can JSTL do that? Apparently, JSTL is interpreting the property name as
an index into the arraylist.
class JeffreyBean extends ArrayList {
public String getName() {
return "Jeffrey";
}
}
<jsp:useBean scope="session" id="bean" class="JeffreyBean"/>
<cut value="${bean.name}"/>
from ArrayList.
Can JSTL do that? Apparently, JSTL is interpreting the property name as
an index into the arraylist.
class JeffreyBean extends ArrayList {
public String getName() {
return "Jeffrey";
}
}
<jsp:useBean scope="session" id="bean" class="JeffreyBean"/>
<cut value="${bean.name}"/>