Has your SQL code issued a "commit" after adding the extra rows? Some DBMSs
require that before the application can see new rows in the database - a
repeated query simply gets the original result until the rollback buffer is
committed.
Murray
-----Original Message-----
From: engp0510 [mailto:engp0510@nus.edu.sg]
Sent: Friday, September 05, 2003 9:31 PM
To: java@lists.mysql.com; tomcat-user@jakarta.apache.org
Subject: Simple question about JSP page
Hi,
Maybe it's a stupid question.
Built jsps for adding&searching with MySQL. First listing all existing
records in db and then adding a new one into database, then listing all
records again. Now the list is the same as previous.
How to solve it?
THX
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
|