Hi Melinda,
You have a couple options. You could add some javascript to your JSP page to check the form input value as soon as the focus leaves that input box and generate an alert if a decimal value has been entered. Or if your posting to a
servlet, then you could do something simple like:
I'm sure there's a much more elegant way of doing this, but obviously I'm not aware of it!
Hope that helps.
[ July 17, 2007: Message edited by: Jason Kwok ]
[ July 17, 2007: Message edited by: Jason Kwok ]