This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread 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

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.
Have you checked out Aspose?
subject: How to use Struts2 interceptor-ref "execAndWait"?
It's not a secret anymore!