i have a small problem in the jsp code i have written "to send the data from form to database".
The table in the database has a primary key field whose values must be generated automatically.
so, i have created a sequence named t_seq and have written it like this:
String s = insert into tr values(t_seq.nextval,.........)
but the data isn't getting inserted