File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes JSP JavaScript Query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "JSP JavaScript Query" Watch "JSP JavaScript Query" New topic

JSP JavaScript Query

kavan desai
Ranch Hand

Joined: Jan 16, 2005
Posts: 32
Hello Friend
I have question regarding jsp and java script. i showing some mesages in my jsp page just like any message bard page on clicking more link of the message field , it will open popup window which shows the message content in detail.and after cloing that window with close button the parent page get refreshed. i m using javascript function for the code on close button is show below. I m using Interet Explorer as my web browser.

function closeOpr()



The message i m getting on closing popwidow with the above give function is :
Thee page cannot be refreshed without resending the information click retry to send the information again.

Please help me .

[ November 15, 2005: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548


[Asking smart questions] [About Bear] [Books by Bear]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Problem is you had a form on that page and it was submitted.

Try doing this instead of reloading

window.opener.location.href = window.opener.location.href;

AND put it before the window.close()!!

I agree. Here's the link:
subject: JSP JavaScript Query
It's not a secret anymore!