How do I detect what type a variable is in jsp?
===

A parameter is being set and I need to check if it is a number or not.  If not, I need to change its value to 1.

    <c:if test="${param.pageOffset TEST HERE}">
    	<c:set target="param" property="pageOffset" value="1" />
    </c:if>

I'm very new to jsp so I could be completely on the wrong track.  Any help would be much appreciated!