Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem With Execute and Wait Interceptor

 
Arpit Gadle
Ranch Hand
Posts: 69
Linux MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi...

I am trying to add a page which informs the user that processing is going , if request processing takes more than 15 sec(see struts.xml snippet using execute and wait interceptor).

The issue is that execution time take by Department action, is same as specified in delay parameter. But if I don't use execute and wait interceptor,
the execution of Department Action takes around a 1 second.

struts.xml




Department.java



Please have a look at above snippets and provide your suggestions


Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic