• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Want to refresh Top jsp(Interesting Question)

 
Sanjay pts
Ranch Hand
Posts: 357
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
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.
Thanx
Sanjay Patel
 
Alex Kravets
Ranch Hand
Posts: 476
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try using JavaScript to refresh the browser.
------------------
Alex
"Java is the answer"
 
Randall Twede
Ranch Hand
Posts: 4439
3
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
maha anna
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sanjay,
Perhaps this may help. You can see this example's demo here in www.w3schools.com. The url is
http://www.w3schools.com/js/tryit.asp?filename=tryjs_twoframes
http://www.w3schools.com/js/js_frames.asp
regds
maha anna
 
ravindra janapreddy
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Sanjay,
Did you get any solution to your problem ? If so, Please let me know the solution. I am facing a similar problem.
regards
Ravindra
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic