Always report an error when downloading files in struts2

download a file using the servlet method in action, always reporting an error, and downloading a file is always visited multiple times in action
action code like this

:

I only clicked to download once, but it visited action, twice, but the download function is still normal, it is downloaded once. But I don"t know why the error was reported as soon as I downloaded the exe file on the server: the software on your host terminated an established connection. I really don"t know why. I hope a great god can take a look at it.

Mar.03,2021
Menu