Home >
Article > Web Front-end > I have implemented the function of uploading Struts2 files and adding a progress bar, but why can't I get the return value of Struts2? Guys, please help me check_html/css_WEB-ITnose
I have implemented the function of uploading Struts2 files and adding a progress bar, but why can't I get the return value of Struts2? Guys, please help me check_html/css_WEB-ITnose
WBOYOriginal
2016-06-24 11:58:271194browse
This is the interface before uploading:
This is the interface when the upload is completed:
The post is quite long. I hope some kindhearted people can help me take a look. I’ve been thinking for a long time and haven’t found the reason.
Reply to the discussion (solution)
This is the struts.xml configuration file
/error.jsp
< ;!-- Respecify the request encapsulation class --> name="requestParser" class="com.zjg.listtener .MyMultiPartRequest" scope="default" optional="true" />
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn