This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I have a input form with an action .do, i donno why the .do is opening another window, i want to close the window onsubmit and refresh the parent window.
can i control anything from struts-config or do i need to control from javascript, if javascript i donno on which event i should write the function because the framework is calling the .do
From the struts-config file I can't make out much about the real flow of actions except that first you have some window for SubmitContact and onsubmit of this page, if error then you have AddCall.jsp page otherwise in your action class you might be forwarding to DisplayCallStatus action(another jsp form). On this form submit, your action class is forwarding the request to another page CallStatus.jsp
I don't know if the above analysis will help you much.
Srilakshmi Vara
Ranch Hand
Joined: Jul 21, 2004
Posts: 169
posted
0
Thanks!!!
Let me explain my problem!!
I have a page1, which displays set of values, page2 is an input form this is called in a popup window from page1. when page2 submit is hit, submit action is opening in another popup window. instead i want submit action of page1 should come in the same window and after it should refresh the page1