• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Want to refresh Top jsp(Interesting Question)

 
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
 
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"
 
Ranch Hand
Posts: 4716
9
Scala 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.
 
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
 
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
 
I child proofed my house but they still get in. Distract them with this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic