Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

inserting a integer value from jsp into mysql database

843859Apr 15 2009 — edited Apr 15 2009
Hi,

I have a jsp application in which it consists of some text fields.when ever we enter data into the text fields the data should be stored in database which is happening in the case of strings through this code
String USER_NAME = request.getParameter("USER_NAME");
but when i want to insert a number or integer value it is not storing

please help me how to write code for storing an integer value into database from textfields of jsp application.

Thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 13 2009
Added on Apr 15 2009
10 comments
1,171 views