This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
 
subject: Problem With Execute and Wait Interceptor
 
Similar Threads
Null Pointer Exception After calling Execute And Wait Interceptor
Struts 2 Problem
Redirects in Inceptor
Validation error mesage is not display in browser
Struts2 - execAndWait Interceptor