aspose file tools*
The moose likes Struts and the fly likes Problem With Execute and Wait Interceptor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem With Execute and Wait Interceptor" Watch "Problem With Execute and Wait Interceptor" New topic
Author

Problem With Execute and Wait Interceptor

Arpit Gadle
Ranch Hand

Joined: Dec 16, 2008
Posts: 69

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem With Execute and Wait Interceptor