hi all,
i want to auto increment a field of my database(say id field) using java code.
i have a insert form in jsp page, by click on the submit button it will insert the value.
but he thing is thatin my table i have two fields id and name.but in in the form there is only one foeld that is name.whenever i insert a name and submit,
the id field of the database auto generate d a number and incremented by one on every post action....
how to do???
plzzzz solve this.