This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes How to use Struts2 interceptor-ref Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to use Struts2 interceptor-ref "execAndWait"?" Watch "How to use Struts2 interceptor-ref "execAndWait"?" New topic
Author

How to use Struts2 interceptor-ref "execAndWait"?

Jonilie Echavez
Greenhorn

Joined: Jun 26, 2009
Posts: 20
Hi,
I wanted to put a wait page for a transaction that takes long to process. In my Struts configuration, I put the following:




My waitPage.html looks like this:



The process that will be running in the background returns "Initiate" which pulls out the page transInitListing.jsp
But when i run the application implementing the wait page, i get an error code 404 which i understand is when servlet action is not available.
When i refresh the page, transInitListing.jsp loads with the appropriate result.

Is there anything else i need to configure for my Action class?

Thanks for your help in advance.
 
Don't get me started about those stupid light bulbs.
 
subject: How to use Struts2 interceptor-ref "execAndWait"?