Please help me in a strange problem which I am facing since last two days. My requirement is one of the simple requirements. e.g. in a simple web application, user generally creates a web report. Among other input fields like report title, report data, etc. there is one input fields named 'report owner'. It is a select box with options populated from database by a DAO.
Now when the user tries to create report and finds no entry for say person named 'A' in the dropdown select box of 'report owner', he should be able to add the person 'A' in the user table and continue report creating.
I need to incorporate this functionality into this MVC web application. App has single controller which serves requests based on the querystring. Now on the report page, when user clicks on 'new', a popup window opens in which the form is present to capture name of user. Now when user clicks on 'Save' on the page, the form gets submitted to a handler and db operation takes place. Now I want to show result of the operation on the popup window which is still open.
For this I forward the request to url of popup window, however even after finishing forward, nothing gets displayed in popup window. No server error log messages are also displayed.
I am unable to understand that when user clicked on 'new', the same url was passed to window.open() function. That time it travelled to the page via controller only and page was displayed on popped up window, now when i submit form on the popped up window whose action is same url, respons does not reach to that page.
I am using iPlaner app server v6.0. I tried in Tomcat 5, and it is running fine. Am i missing something?