首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2EE开发 >

usebean标签undefined type 未定义类型,该如何解决

2012-04-23 
usebean标签undefined type 未定义类型jsp:useBean idcategory classbusinessBean.GetCategory sco

usebean标签undefined type 未定义类型
<jsp:useBean id="category" class="businessBean.GetCategory" scope="session"/>
  <% category.getCategory(); %>
class那块显示undefined type 未定义类型businessBean.GetCategory

[解决办法]
category.getCategory()返回值类型是什么? string? 如果你要显示这个数据,用out.print();试一下

热点排行