Link to home
Start Free TrialLog in
Avatar of princehyderabad
princehyderabad

asked on

hOW TO Refresh Other Frame

hi

I have Frames (left & right pages). When xyz.jsp loads on right frame, I want to refresh left page.
I want to know the syntax, upon checking the request.parameter depending on the values I want to refresh left frame.

Regards,
Hyd
ASKER CERTIFIED SOLUTION
Avatar of TimYates
TimYates
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of princehyderabad
princehyderabad

ASKER

hi Tim,

I got small logical problem.
After performing certain action, the servlet redirect to JSP page. This is the redirect code.

response.sendRedirect("right.jsp");

How should I know in the right.jsp page that it is been redirect from xyz servlet and I need to perform leftframe refresh. Only if redirect is done from xyz serlvet it has to perform refresh on leftframe.

I tried this with yout above code, but didnt worked.
response.sendRedirect("../resource/overview.jsp?rwhatever=value");

Regards,
H
Did you mean:

response.sendRedirect("../resource/overview.jsp?whatever=value");

?

"whatever", not "rwhatever"?

can you post the html for your root frame?  Is your left frame called "leftframename"?  In my example code...
Nevermind, I got it. Thanks
:-)

Glad I could help :-)

Good luck!!

Tim