|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
html form datatypes
I'm passing some form data to a JSP and I can't figure out how to either pass the data as an int or cast from a string to an int so that I can jump into the database with the data.
Any ideas? Thanks |
|
#2
|
|||
|
|||
|
int x = new Integer(request.getParameter("x")).intValue()
You also need to catch the NumberFormatException. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > html form datatypes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|