Refrsh jsp page with database dataprovider

Hi All,

I developed a jsp page wich have a table and this table take the data from a dataprovider linked to database, now if some record inserted into the database or deleted i want the data to be reflected on the form table how can i do this by automaticaly when the data get changed on the database it will be changed on the table in the jsp page?

Regards,

Ahmad

[389 byte] By [Eaglesa] at [2007-11-27 6:56:51]
# 1
Is the insert, update or delete handled by your application?If so, then in the page's prerender method get a reference to the data provider, let's call it myDP, and invoke the following method:myDP.refreshThat should do it...I think.
Futeleufu_Johna at 2007-7-12 18:33:55 > top of Java-index,Development Tools,Java Tools...