Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1079 > unrolled thread

problem in refreshing a j

Started by"sureshsamikannu" <sureshsamikannu@THRWHITE.remove-dii-this>
First post2011-04-27 15:31 +0000
Last post2011-04-27 15:31 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.lang.java.gui


Contents

  problem in refreshing a j "sureshsamikannu" <sureshsamikannu@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
    Re: problem in refreshing "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000

#1079 — problem in refreshing a j

From"sureshsamikannu" <sureshsamikannu@THRWHITE.remove-dii-this>
Date2011-04-27 15:31 +0000
Subjectproblem in refreshing a j
Message-ID<1172832697.754752.202610@j27g2000cwj.googlegroups.com>
  To: comp.lang.java.gui
HI all

i want to refresh a jsp page after a action is executed..

in my jsp page iam having 2 radio buttons. if i check the radio buton
and submit it should generate a xml file and ask to save


its working fine if i check the first radio button.. butthe next time
if i check the next radio button its showing a error as "ACCESS
DENIED" so if i refresh the jsp page it should be better. but if i
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();

help me to slove the problem

thanks in advance
Suresh s

---
 * 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

[toc] | [next] | [standalone]


#1102 — Re: problem in refreshing

From"Lew" <lew@THRWHITE.remove-dii-this>
Date2011-04-27 15:31 +0000
SubjectRe: problem in refreshing
Message-ID<K9mdnZpCpImKCXTYnZ2dneKdnZydnZ2d@comcast.com>
In reply to#1079
  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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web