aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Want to refresh Top jsp(Interesting Question)" Watch "Want to refresh Top jsp(Interesting Question)" New topic
Author

Want to refresh Top jsp(Interesting Question)

Sanjay pts
Ranch Hand

Joined: Nov 07, 2000
Posts: 357
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


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

Joined: Jan 24, 2001
Posts: 476
try using JavaScript to refresh the browser.
------------------
Alex
"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: 4347
    
    2

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.


SCJP
Visit my download page
maha anna
Ranch Hand

Joined: Jan 31, 2000
Posts: 1467
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

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.
regards
Ravindra


SCEA, SCBCD, SCWCD, SCJD, SCJP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Want to refresh Top jsp(Interesting Question)