refresh a frame in servlet

Discussions

Web tier: servlets, JSP, Web frameworks: refresh a frame in servlet

  1. refresh a frame in servlet (1 messages)

    i have two frames named A & B. In A have 'Add' button, whenever i click 'Add' a window pops up which contains 'Save' button. on clicking Save the window should be closed & the frame A has to be refreshed.
    (in servlet)
  2. before closing the opened window: set with opener window frame location to what it was pointing ...

    or call javascript refresh/reload method on that frame from the popup widnow before its closed..

    window.opener.top.frameName.location.reload() If this doesn't work, check the javascript documentation ..