| Author |
Refreshing the portion of page
|
Mohan Panigrahi
Ranch Hand
Joined: Sep 28, 2001
Posts: 142
|
|
Hi, We have a few elements dynamically generated by jsp in a jsp page. We have one table with expanding tree structure. We are facing a problem that when we want to refresh the expanding tree table, by using history.go(0), the whole page gets refreshed and this takes time as the control goes back to server. We want to refresh only the particular tree structure. Could any one suggest how can i refresh only a part of page, as for example my table with tree structure in the present problem. Thanks
|
 |
Randall Twede
Ranch Hand
Joined: Oct 21, 2000
Posts: 4089
|
|
this takes time as the control goes back to server
thats what refresh means. thats why netscape and mozilla call it reload. sure the browser will cache stuff, so it doesnt always actually reload, but you are talking about a dynamically generated page anyway. you could reload a portion by using frames. or perhaps these new i-frames which i know nothing about yet.
|
SCJP
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56183
|
|
If you are only concerned with modern browsers (read: not Netscape 4.x) you can use iframes to easily embed "sub-pages" within your parent page. You'll need to deal with inter-frame communications issues for any client-side scripting, but it's not all that bad. hth, bear
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: Refreshing the portion of page
|
|
|