javascript window.opener.location.reload() alternative -


onclicking link on page popup window appears.this popup window has form on submit calls struts action has 2 outputs :- if success - popup should close , parent window should message , values updated in parent form if failure - on popup error message should displayed. serverside code ready dont know how can implement logically flow especialy on client window.

i m new , need advice on how implement same. tried javascript window opener follwed window.close() redirect not forward request attributes lost , success message not displayed in parent window.

thanks help.

window.location.href=window.location.pathname;

hope you


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -