You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Donald Ball <db...@rhoworld.com> on 2003/02/05 20:40:48 UTC

accessing static fields/methods from a static class using jstl el

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