File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to use Struts2 interceptor-ref "execAndWait"?" Watch "How to use Struts2 interceptor-ref "execAndWait"?" New topic

How to use Struts2 interceptor-ref "execAndWait"?

Jonilie Echavez

Joined: Jun 26, 2009
Posts: 20
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.
I agree. Here's the link:
subject: How to use Struts2 interceptor-ref "execAndWait"?
It's not a secret anymore!