aspose file tools*
The moose likes Struts and the fly likes How i call Action page automatically from my jsp page after page completely load Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How i call Action page automatically from my jsp page after page completely load" Watch "How i call Action page automatically from my jsp page after page completely load" New topic
Author

How i call Action page automatically from my jsp page after page completely load

Vinod suryawanshi
Ranch Hand

Joined: Aug 08, 2012
Posts: 51
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.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8908
    
    8

It sounds like you are trying to duplicate the Execute and wait interceptor


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Vinod suryawanshi
Ranch Hand

Joined: Aug 08, 2012
Posts: 51
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How i call Action page automatically from my jsp page after page completely load