Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Duplicate submission of request is being invoked automatically - Struts

VickramJan 10 2013 — edited Jan 14 2013
Hello All:

Am struggling with this issue for past 10days. I will explain the issue in detail,I have a button in jsp, onclick it will send the request to someaction.do to generate a report and
display that report in a new window.After clicking the button to generate the report, in business class a sql query is getting executed,if the query result has less data, then i don't have any problem, i could view my report page.If the query result has more data, then the query takes at least 5-6mins to complete, but before the query completes its execution, again the same request is automatically invoked and it starts from action class, business layer and query execution, because of this the report is not getting generated.
As multiple time the same request is hit automatically, the browser shows internet explorer error and ends up in a blank page.

No exception is thrown in the log page, i could find only at the place of query execution it stops and starts as a new request from web.xml with Servlet Filters, Action.

Note: For a single .do request, the request is getting repeated for 3 times. Overlapping of request also takes place.

If u couldn't understand my question, kindly ask me. But pls someone help me to fix this issue.

Thanks in advance.

Thanks and Regards,
K.Vickram.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 11 2013
Added on Jan 10 2013
7 comments
7,616 views