hi,

i have running a sevlets that reads from a file a number and it adds
one more. after changes it saves.
    i want to use the same file from another servlet. any problem?? if
both servlets try to open and save at the same time.

        file =  4455

servlet 1                                              servlet2
{                                                          {
read from file   4455                            read from file 4455
++                                                        ++
4456                                                     4456
save                                                     save
}                                                           }

it is wrong. in file should be  4457.

thanks in advance,

marcos
[EMAIL PROTECTED]




----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to