File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes struts2 execandwait interceptor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts2 execandwait interceptor" Watch "struts2 execandwait interceptor" New topic
Author

struts2 execandwait interceptor

Madhu Balu
Greenhorn

Joined: Sep 18, 2009
Posts: 3
I am having an issue with the execandwait interceptor. I dont want the wait page to be shown if the action is done before the specified time.

But, somehow the action executes for the time given in the delay (If I give 20 seconds, then the action executes for 20 seconds), then the wait page is shown. Only after that my page is shown. If I remove the delay and delaysleepinterval, then the action gets done in a fraction of a second, wait page is shown and then my page is shown. Any ideas about what is it I am missing?


Madhu Balu
Greenhorn

Joined: Sep 18, 2009
Posts: 3
Anybody?
Mathew Geraldo
Greenhorn

Joined: Mar 27, 2013
Posts: 19
Hi Madhu,

I am having this same issue.
If you still remember, can please share how you resolved this issue?

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: struts2 execandwait interceptor
 
Similar Threads
ExecAndWait interceptor parameters lost
execAndWait problem
execAndWait Interceptor and Validation interceptor problem
Problem with execAndWait interceptor
Struts2 - execAndWait Interceptor