wood burning stoves
The moose likes Servlets and the fly likes Want to refresh Top jsp(Interesting Question) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Want to refresh Top jsp(Interesting Question)" Watch "Want to refresh Top jsp(Interesting Question)" New topic

Want to refresh Top jsp(Interesting Question)

Sanjay pts
Ranch Hand

Joined: Nov 07, 2000
Posts: 357
I'm facing problem that i have an html file with two frames top and bottom.In top frame i'm using one JSP and in bottom the other. Now in top JSP i'm fatching data from database and display it row wise(actually this is report JSP), on bottom jsp by chosing perticular record on top i fetch all record into bottom jsp and their i can update/delete record.
My problem is while updating/deleting record from bottom JSP i want to refresh top JSP so whatever changes i had made for that records get reflected to top jsp.
Plese help me out.
Sanjay Patel

Eat JAVA, Drink JAVA, Sleep Java
Alex Kravets
Ranch Hand

Joined: Jan 24, 2001
Posts: 476
try using JavaScript to refresh the browser.
"Java is the answer"

All right brain, you don't like me and I don't like you, but let's just do this one thing so I can get back to killing you with beer.<br /> <br />- Homer Simpson
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4351

I faced a similar problem. I found out about a way to refresh the page. I thought it was html but I dont see it in the html spec so it must have been javascript. It didnt solve my problem and I found a different solution and my memory is terrible so I dont have any code to post for you. sorry.

Visit my download page
maha anna
Ranch Hand

Joined: Jan 31, 2000
Posts: 1467
Perhaps this may help. You can see this example's demo here in www.w3schools.com. The url is
maha anna
ravindra janapreddy
Ranch Hand

Joined: Jan 30, 2001
Posts: 84
Dear Sanjay,
Did you get any solution to your problem ? If so, Please let me know the solution. I am facing a similar problem.

I agree. Here's the link: http://aspose.com/file-tools
subject: Want to refresh Top jsp(Interesting Question)
It's not a secret anymore!