its the updation query.In this page when i click the update button it updates the values in the row..and this query is working...
I want to do that..when i click a update button it gives me a confirms message whether did u want to update the row and also displaying the particular gl_code no in that confirms message.when i click on yes it updates the row..otherwise it doesnot.
after updation it shows message that this particular gl_code no is has been updated.
<input type="submit" value="Update">
should be like this
<input type="submit" value="Update" onclick="return confirm('do u really want to submit?');"/>
Now I want to suggest here that you must want to remove your business logic code(database queries) to some hidden part of the application, using db queries in a jsp is probably oneof the worst practices that one can resort to in web programming with java.