Click here to Skip to main content
16,021,226 members

Comments by Luis Carlos Gonzalez Barcenas (Top 2 by date)

Luis Carlos Gonzalez Barcenas 26-Oct-15 16:00pm View    
Try passing the value as null
String sql = "insert into user_reg_ml (id,uname,pwd,email,country) values (null ,?,?,?,?)";
Also if you will insert every value for one row in that table, only do
String sql = "insert into user_reg_ml values (null ,?,?,?,?)";
Luis Carlos Gonzalez Barcenas 26-Oct-15 15:48pm View    
One idea could be make a jsp page and pass the results of the query by parameter and when you redirect to the page load the parameters and use in it as you prefer. Hope this help.