我在原来的tomcat5.5.12中配置两个虚拟主机运行没有问题,换到5.5.20后其中默认为localhost的没有问题,但是另外一个就告诉我The value for the useBean class attribute com.aa.RestaurantItem is invalid,WEB-INF/classes/com/aa/下有RestaurantItem这个类,类的属性试public,有public的构造函数
jsp包含语句:
<jsp:useBean id='item' scope='page' class='com.aa.RestaurantItem' />
不知道为什么,网上查了很多也没有发现类似的问题,机器昨天也重启了,实在试郁闷得不行了
jsp包含语句:
<jsp:useBean id='item' scope='page' class='com.aa.RestaurantItem' />
不知道为什么,网上查了很多也没有发现类似的问题,机器昨天也重启了,实在试郁闷得不行了
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货