2
私は2つのjspページを持っています。 groups.jspとaddGroup.jspjspページを別のJSPページからリフレッシュするには?
前記addGroup JSPページはgroups.jspでボタンをクリックすることにより開かれ、addGroup.jspで「OK」ボタンをクリックした後、私はリフレッシュしたいのですがgroups.jsp。それはどのように可能になるでしょうか?
addGroup.jsp
<script type="text/javascript">
function refresh() {
//Refresh page implementation here
window.close();
}
</script>
//some code here
<table>
<tr>
<td>
<h:commandButton id="buttonOK" value="#{common.ok}" type="button" styleClass="button" onclick="submitForm(); refresh();"/>
<td>
</tr>
</table>
//some code here