Duplicate Record

Hi

When i try to insert a record it is inserting successfully, but after the insert request , if i refresh the page the record is inserting second time with the duplication of previously inserted record, here i have a one option to overcome this issue it is i need to check in database is there any other records with the going to insertable record. but it will displaying a server side validation

Record Already Exists., it is showing the message whenever i refresh the page.

Thanks in Advance.

Sri.

null

[543 byte] By [NAGAVANISRIa] at [2007-10-3 1:11:39]
# 1
put a unique key to you database.. if you have the business logic to your jsp separate it to your UI
jgalacambraa at 2007-7-14 18:08:39 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...