struts2的上传文件大小限制引起HTTP Status 404 - No result defined for action com.cpms.action.organ.UploadFile and result inpu
2010-06-22 17:05
591 查看
<package name="downloadfile" extends="struts-default">
<action name="download"
class="com.cpms.action.organ.DownloadAction">
<result name="success" type="stream">
<param name="contentDisposition">
attachment;filename="${fileName}"
</param>
<param name="inputName">downloadFile</param>
</result>
</action>
</package>
在struts.xml中增加<constant name= "struts.multipart.maxSize" value="104857600" /><!-- 文件上传大小 100*1024*1024 100M-->故障排除
<action name="download"
class="com.cpms.action.organ.DownloadAction">
<result name="success" type="stream">
<param name="contentDisposition">
attachment;filename="${fileName}"
</param>
<param name="inputName">downloadFile</param>
</result>
</action>
</package>
在struts.xml中增加<constant name= "struts.multipart.maxSize" value="104857600" /><!-- 文件上传大小 100*1024*1024 100M-->故障排除
相关文章推荐
- struts2 多文件上传 No result defined for action com.cpms.action.organ.UploadFile and result inpu
- struts2 上传文件 HTTP Status 404 - No result defined for action.....and result input
- HTTP Status 404 - No result defined for action com.lnzkx.action.PeronAction and result success
- HTTP Status 404 - No result defined for action com.ssk.action.Register and result success
- HTTP Status 404 - No result defined for action com.csdhsm.struts.action.LoginAction and result error
- HTTP Status 404 - No result defined for action com.cnlive.csp.manage.action.SysGiftAction and result
- HTTP Status 404-no result defined for action com.huida.action.LinkManAction and result input
- HTTP Status 404 - No result defined for action XXXX and result success 处理
- HTTP Status 404 - No result defined for action XXX and result input
- HTTP Status 404 - No result defined for action org.csun.ns.action.NtHomesAction and result input
- 关于struts2上传文件报错“No result defined for action and result input”
- “HTTP Status 404 - No result defined for action ****** and result result”错误解决方法
- No result defined for action action and result input 解决办法——struts2 文件上传
- Struts2:HTTP Status 404 - There is no Action mapped for namespace[ / ]and action name singleUpload.
- HTTP Status 500 - No result defined for action com.action.goodsAction and result input
- HTTP Status 500 - No result defined for action com.action.goodsAction and result input
- HTTP Status 404 - No result defined for action XXXX and result success 处理
- HTTP Status 404 - No result defined for action …… and result input。
- “HTTP Status 404 - No result defined for action ****** and result result”错误解决方法
- 关于struts2上传文件报错“No result defined for action and result input”