tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ann patil" <patil...@hotmail.com>
Subject RE: Tomcat issue - Fresh data not brought forward
Date Tue, 28 Nov 2000 07:33:13 GMT
Hi,

Some more info:
1) I enter the record number to retrieve the record from the
database.
2) Transaction: If record exist should be brought forward and allow the user 
to update else new data entered.
3) Assume the record does not exist.
4) Screen with blank fields are displayed.
5) I enter data and press save.
6) Then I check the database if the record is really inserted.
7) SQL plus : Displays the inserted record.
8) Then I close the web browser and open it again.
9) Try to view the record inserted by entering the record number.
10)Displays the inserted record only if Tomcat server stoped and re-started 
else shows screen with blank fields(instance of earlier
blank screen before inserting the record)

Same happens when I try to update the record.

In other words only after I stop and re-start the Tomcat server
the latest data is displayed.

Transaction flow:

Enter record number
          |
    if exist
          |
   --------------
   |             |
No             Yes
  |               |
Blank screen     Inserted record is displayed
  |               |
Enter data       Update
  |               |
Save             Save




Please help.


Thanks

Ann.


>From: Scott Hamilton <hamilton@grunj.cat.org.au>
>Reply-To: tomcat-user@jakarta.apache.org
>To: tomcat-user@jakarta.apache.org
>Subject: RE: Tomcat - Fresh data not brought forward
>Date: Tue, 28 Nov 2000 16:57:10 EST
>
> >Hi,
> >    I have developed an application that allows insert & update
> >of records in the database.The problem I am facing is when I insert
> >or update the record the inserted or updated record is not brought
> >forward.
> >
>
>     Umm without more info, it sounds like the transaction hasn't
>     been committed or the new transaction is not really a new
>     transaction????
>
>
>     Scott, Esq.
>
> >
> >Thanks
> >
> >Ann.
> >_____________________________________________________________________________________
> >Get more from the Web.  FREE MSN Explorer download : 
>http://explorer.msn.com
> >

_____________________________________________________________________________________
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com


Mime
View raw message