Cannot find bean: "serivceList" in any scope
2009-05-06 00:27
501 查看
javax.servlet.jsp.JspException: Cannot find bean: "serivceList" in any scope
此错误是说找不到serivceList,如果后台能够测试成功,说明界面上缺少一个<logic:notEmpty></logic:notEmpty>判断。
实现代码如下:
<logic:notEmpty name="serivceList">
</logic:iterate>
<logic:notEmpty name="serivceList">
<logic:iterate id="item" name="serivceList" >
<html:form action="/cstservice" method="post">
<input type="hidden" name="method" value="doFenpei">
<html:hidden property="cstservice.svrId"/>
<tr>
<td class="list_data_number">${item.svrId }</td>
<td class="list_data_text">${item.cstCustomer }</td>
<td class="list_data_ltext">${item.svrTitle }</td>
</tr>
</html:form>
</logic:iterate>
</logic:notEmpty>
此错误是说找不到serivceList,如果后台能够测试成功,说明界面上缺少一个<logic:notEmpty></logic:notEmpty>判断。
实现代码如下:
<logic:notEmpty name="serivceList">
</logic:iterate>
<logic:notEmpty name="serivceList">
<logic:iterate id="item" name="serivceList" >
<html:form action="/cstservice" method="post">
<input type="hidden" name="method" value="doFenpei">
<html:hidden property="cstservice.svrId"/>
<tr>
<td class="list_data_number">${item.svrId }</td>
<td class="list_data_text">${item.cstCustomer }</td>
<td class="list_data_ltext">${item.svrTitle }</td>
</tr>
</html:form>
</logic:iterate>
</logic:notEmpty>
相关文章推荐
- org.apache.jasper.JasperException: Cannot find bean: "list" in any scope
- Cannot find bean: "org.apache.struts.taglib.html.BEAN" in any scope
- Cannot find bean: "test" in any scope
- Cannot find bean: "org.apache.struts.taglib.html.BEAN" in any scope 问题
- Cannot find bean: "org.apache.struts.taglib.html.BEAN" in any scope
- 错误解决:Cannot find bean: "beanName" in scope: "request"
- Cannot find bean beanList in any scope错误
- Cannot find bean in any scope
- Cannot find bean org.apache.struts.taglib.html.BEAN in any scope异常解决方案
- [Struts]"Cannot find bean in any scope"之一解
- struts的异常: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope
- Cannot find any information on property 'User' in a bean of type 'com.entity.user'
- "org.apache.struts.taglib.html.BEAN" in any scope
- Cannot find bean org.apache.struts.taglib.html.BEAN in any scope
- 出现Cannot find bean name in any scope的解决办法
- Struts中Cannot find bean XXX in any scope的问题
- Cannot find bean userinfo in any scope
- Cannot find bean org.apache.struts.taglib.html.BEAN in any scope
- Cannot find bean in any scope
- Cannot find bean in any scope