tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Ball" <db...@rhoworld.com>
Subject accessing static fields/methods from a static class using jstl el
Date Wed, 05 Feb 2003 19:40:48 GMT
hi, i'm trying to figure out how to access static fields or methods from a
static class using the jstl el. say i've got a class, call it
com.example.Foo, which has a method getBar(). how would i access that
property using jstl el? this doesn't work:

${com.example.Foo.bar}

for, i guess, relatively obvious reasons. any suggestions? this seems like
a really stupid question, but i've been poking around for a while and can't
figure out a solution without reverting to scriptlets. thanks.

- donald


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message