今天做项目,发现当上传大文件的时候,后台报错,
ERROR org.apache.struts2.dispatcher.Dispatcher Exception occurred during processing request: No result defined for action com.jy.aicloud.web.action.app.EpUpgradeAction and result input
No result defined for action com.jy.aicloud.web.action.app.EpUpgradeAction and result input
不同于网上说的那个错误
the request was rejected because its size (16272982) exceeds the configured maximum (9000000)
只需要将struts.xml中加入<constant name="struts.multipart.maxSize" value="20971520" />
即可上传成功