How i call Action page automatically from my jsp page after page completely load
Joined: Aug 08, 2012
From last 3-4 days i am trying to find solution to this problem but not reach to any final solution...
I am Working on one project in which i want t use SOAP request-response. But that's not problem. The problem is...
Page :1. I develop one search page (search.jsp). On this Search page i take values from user. when user click submit button i call action page (SearchAction.java) and then put all those values in session. and redirect to Process page.
Page :2 Then i want Process page (process.jsp) will open and show loading gif image. and after page completely load i want process page will automatically called action page (ProcessAction.java). When action page called, that action page will take all values from session and send Soap Request to SOAP server and wait till SOAP Server send response. After response came from SOAP i want that ProcessAction.java page fetch all values from it and put them into session. After all this done, that action page will redirect to result.jsp page.
Page 3: On third page(result.jsp) i want simple jsp page will open and fetch value from response values from session and display on page.
But my problem here is, i don't understand how i call ProcessAction page from process.jsp page after proces.jsp page completely load.
Hope i explain my problem well, if anybody have any suggestion then please reply. Thanks in Advanced.
Thanks Joe Ess for your replay, i read link you send me its nice.
but i am sorry, that i forget to mention i did project in struts 1.3.8, and may be Execute and wait interceptor in not available there.
So if you have any other suggestion then please post.