You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ann patil <pa...@hotmail.com> on 2000/11/28 08:33:13 UTC

RE: Tomcat issue - Fresh data not brought forward

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 <ha...@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


RE: Tomcat issue - Fresh data not brought forward

Posted by Saurabh Shukla <sa...@cysphere.com>.
1) Please check if transaction is commited.

2) The page might be coming from your cache, delete your cache completely,
kill your
   browsers and then check.

Shuklix


-----Original Message-----
From: ann patil [mailto:patilann@hotmail.com]
Sent: Tuesday, November 28, 2000 1:03 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: Tomcat issue - Fresh data not brought forward


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 <ha...@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