No result defined for action com.jd.m.cms.web.action.IndexfloorAction and result Input问题
2013-12-17 09:32
411 查看
No result defined for action com.jd.m.cms.web.action.IndexfloorAction and result Input问题
主要是参数的问题,如action中定义的是int类型,有可能vm页面写的是String,这样就会报如上的错误:
错误:
<input type="hidden" id="indexFloorImgIdList" name="indexFloorImgIdList" value="#if($temp<$!indexFloorImgIdList.size())$!indexFloorImgIdList.get($temp) #end "
size="20" />
正确:
<input type="hidden" id="indexFloorImgIdList" name="indexFloorImgIdList"
#if($temp<$!indexFloorImgIdList.size())
value="$!indexFloorImgIdList.get($temp)"
#end
size="20" />
注意蓝色部分,有空格,导致value变成了String。
参考:http://www.360doc.com/content/11/0613/16/6161903_126666872.shtml
主要是参数的问题,如action中定义的是int类型,有可能vm页面写的是String,这样就会报如上的错误:
错误:
<input type="hidden" id="indexFloorImgIdList" name="indexFloorImgIdList" value="#if($temp<$!indexFloorImgIdList.size())$!indexFloorImgIdList.get($temp) #end "
size="20" />
正确:
<input type="hidden" id="indexFloorImgIdList" name="indexFloorImgIdList"
#if($temp<$!indexFloorImgIdList.size())
value="$!indexFloorImgIdList.get($temp)"
#end
size="20" />
注意蓝色部分,有空格,导致value变成了String。
参考:http://www.360doc.com/content/11/0613/16/6161903_126666872.shtml
相关文章推荐
- No result defined for action com.lzj.web.action.CustomerAction and result input
- No result defined for action com.ancs.smis.webapp.action.SmisProblemRectifyAction and result input
- No result defined for action com.igit.contract.web.action.ContContractAction and result input
- No result defined for action com.zhaoonline.web.action.CreateBusinessCardAction and result input
- No result defined for action com.nynt.action.ManageAction and result input问题
- No result defined for action com.web.action.UserAction and result input
- HTTP Status 500 - No result defined for action com.action.goodsAction and result input
- No result defined for action com.buaa.spring_test.action.TestAction and result input
- Java Web 的No result defined for action cn.itcast.action.CustomerAction and result input 错误
- [SSH]No result defined for action and result input 和 Struts2中关于值跳转input,而不执行action的问题
- No result defined for action org.OA.web.ScheduleAction and result input(万恶的bug)
- struts2:No result defined for action com.jcyj.action.fitting.FittingsAction and result input
- No result defined for action com.szcport.action.DataApplyAction and result input
- No result defined for action com.oa.action.InstructorAction and result input
- SSH报错:No result defined for action com.tyzy.action.user.UserAction and result input
- Struts2疑难--No result defined for action com.marry.action.HqsyAction and result input
- No result defined for action com.h.action.SystemSave and result input
- 关于问题“404 No result defined for action XXXAction and result input ”的见解
- 表单提交时报错:No result defined for action com.ylj.action.BbsAction and result input
- No result defined for action org.album.web.PhotoAction and result input