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 Robert Taylor <rt...@newatlanta.com> on 2003/10/24 19:27:58 UTC

Determine a values type

Is there a way to determine a values type?
I basically need to know if a value is an integer.

For example, the following throws an exception if the value "userId" cannot
be coerced:

<c:if test="{param.userId > 0}">

</c:if>

robert


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