I do not have problems with the inserting the data to the table(either
.nextval in oracle or getting the max + 1).

But the concern is the same row  is inserted again when u refresh the page in
case of request forward. Because the last request from client was to  insert
one record.
Instead if i use a sendredirect, the url changes. ( Ref. last mail  and the
fig. explained below ).

I would really love to use the forward method instead of send redirect as it
saves me 2 network calls.( step2 and  step 3)

client                  server
1. call for insert of data in page 1
---------------------->

2. server redirection  for the page 2
<--------------------

3. Client request to page -2
--------------------->
4. server sends page 2
<------------------------


Thanks and Regards
Raj
EXT 6146



-------------------------------------------------------------------

The contents of this e-mail are confidential to the ordinary user
of the e-mail address to which it was addressed and may also be
privileged. If you are not the addressee of this e-mail you should
not copy, forward, disclose or otherwise use it or any part of it
in any form whatsoever. If you have received this e-mail in error
please notify us by telephone or e-mail the sender by replying to
this message, and then delete this e-mail and other copies of it
from your computer system. Thank you.

We reserve the right to monitor all e-mail communications through
our network.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to