Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use Struts2 interceptor-ref "execAndWait"?

Jonilie Echavez
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic