Hi, Try this.... opener.location.reload() ;
Jayant -----Original Message----- From: Mallikarjuna Budur [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 10:59 AM To: [EMAIL PROTECTED] Subject: Problem with reloading the page... Importance: High Sensitivity: Personal Hi, I am facing a problem like this: I have a main (List) page where all the records are displayed and there are options of adding/modifying/deleting record(s). When I am clicking add button, I am opening a new window where I am adding a record and submitting that page by clicking on save button(This is image button). After that I am closing that new window (using window.close ()) and reloading the list page (by calling the list page just after saving the record). <Script> function save Record () { document.icareForm.action="servlet to insert record"; document.icareForm.submit (); opener.document.icareForm.action = "list servlet"; opener.document.icareForm.submit (); window.close (); } </script> New record is added in database but not reflecting in my main (List) page even after reloading the page. Once I am refreshing the window then only it reflects in list page. I want record should be reflected in list page without refreshing the window. Thanks in advance. ========================= To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com ==========================================================================To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com