i hava menu for delete , view , edit and activate users
when i click on delete , record of that user delete from database
but it shows on page
when i fresh page it remove from page.
can any body tell me to reload a jsp page without error? thanks advance.
Joined: Dec 28, 2001
Please post your complete code so that we can understand what you have done.
Joined: Oct 20, 2007
I think ,you can always use REFRESH element in your META tag in HTML to refresh for auto refreshing the page.
Thanks & Regards, SK
SCJP 5.0, DB2 - 800, DB2 - 803, SCDJWS (On the way)
Joined: Feb 22, 2008
Hi, You can use following method:
window.location.reload(); Regards, Ramanuj.
With Regards,<br />Rama
Joined: Jun 05, 2006
Hi shahidrasul , You might have written your user deletion logic in DAO. Once you delete the user from database , retrive a users again from database(or delete the required user from the existing list). After this , forward the control to the same jsp , with the updated user list.
Cheers<br />-------------<br />Swapnil<br /> <br />SCJP5-81%<br /> <br />"Dictionary is the only place where Success come before Work"