why data changing ?

Hi All,

I am loggin to my application by 2 users.

user:A

user:B

After logging both users will click on a menu,which will open summary page showing records as,

idnamestate

1abcpqr

2abc1pqr1

3abc2pqr2

4abc3pqr3

suppose user:A will delete record with id:2 by cliking on checkbox.

At the same timeuser:B will click on edit link for thesame record withid:2 from another browser but that record is now deleted from DB.

But when user:B click onedit link with id:2 its seeing record with id:3

can anybody please tell me why user seeingNEXT record

For editing & displaying records I m refering this link

http://balusc.xs4all.nl/srv/dev-jep-dat.html

can please anybody help me in this ?

Thanks

Sandip

[863 byte] By [sandip_03_jsfa] at [2007-11-27 0:27:12]
# 1
You need to persist data with a good DAO/ORM (Hibernate?) and add validations.
BalusCa at 2007-7-11 22:26:40 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...