Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!novia!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: "Lew" Subject: Re: problem in refreshing Message-ID: X-Comment-To: comp.lang.java.gui Newsgroups: comp.lang.java.gui In-Reply-To: <1172832697.754752.202610@j27g2000cwj.googlegroups.com> References: <1172832697.754752.202610@j27g2000cwj.googlegroups.com> Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 19 Date: Wed, 27 Apr 2011 15:31:23 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303918283 96.60.20.240 (Wed, 27 Apr 2011 10:31:23 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 10:31:23 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:1102 To: comp.lang.java.gui sureshsamikannu@gmail.com wrote: > give the below code after submitting it suddenly reloaded the jsp page > so that the xml is not generating.but it had refreshed that jsp page. > > window.location.reload(); That will reload the HTML that was generated by the JSP. It is Javascript, so it executes client side. IIRC, its action is to resend the POST parameters from the previous page and ask the sender to resend the HTML. It will lose any parameters from the current page; it is basically a "start over" for the current page. -- Lew --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24