다른 JBOSS Server를 실행하는 Java에서 두 개의 웹 응용 프로그램을 사용 중입니다.iframe에서 parentWindow 값 가져 오기
- 앱 1처럼 - HTTP : \ 10.20.34.55 : 8080 \ SpringApp1
- 앱 2 - HTTP : \ 10.20.34.55 : 8089 \ SpringApp2 내가 앱 1 iFrame을 사용하고
App2 UI 세부 정보를 가져옵니다.
<iframe src="http:\\10.20.34.55:8089\SpringApp2" ></iframe>
App1에서 App2 응용 프로그램을 사용할 수 있습니다. App1에서 App2의 일부 변경을 수행하면 성능이 향상됩니다.
App1 - Parent Window
App2 - Child Window
App2-Child 창에서 일부 작업을 수행 할 때 App1을 자동 제출해야합니다.
이 코드를 사용하고 있지만 사용하지는 않습니다.
parent.document.getElementById("App1Submit").click();
App1 제출 - App1 제출 버튼.