Question, Object Reference, , , 2 . , , :
HTML:
<a onclick="openNewTab()">app2</a>
<a onclick="refreshExistingTab">Refresh</a>
JS:
<script>
var childWindow = "";
var newTabUrl="http://localhost:8081/app/home";
function openNewTab(){
childWindow = window.open(newTabUrl);
}
function refreshExistingTab(){
childWindow.location.href=newTabUrl;
}
</script>