Convert a Text Input field to numeric or int

I'm working with JSP (tAGliB) and I have include a Input test see below:

Type Odds: <input type="text" name="TXTODDS" value="" size="6" /

I need to convert this text field to a numeric field this field will be inserted into a SQL sentence :

><sql:update dataSource="${datasource}" >

UPDATE ESRIOSJ.OPENCUT99 SET ODDS=? WHERE PLT=32 AND TOTREC>0

<sql:param value="${param.TXTODDS}"/>

</sql:update>

[468 byte] By [RIMA33a] at [2007-11-26 13:10:33]
# 1
You might want to ask this in the JSP forums. There are a lot of people there that could probably help you out.
codebooka at 2007-7-7 17:24:55 > top of Java-index,Java Essentials,New To Java...