Who can tell me why I can't see the content of these questions: - When struts2 downloads excel and uses struts2 to download files, I find that the fileName cannot be obtained in the download prompt box that opens. The related configuration of downloading excel in struts.xml is as shown in the figure: there is a private fileName variable name in the action, and there are also set and get methods. But download.
Who can tell me why I can't see the content of these questions: - When struts2 downloads excel and uses struts2 to download files, I find that the fileName cannot be obtained in the download prompt box that opens. The related configuration of downloading excel in struts.xml is as shown in the figure: there is a private fileName variable name in the action, and there are also set and get methods. But download.
Just add a piece of code and it’s ready