weblogic5.1下web application中如何从jsp调用bean和taglib(内详)

wheels 2001-05-29 05:12:00
引入web application后,把自定义的class放到web-inf/classes下(当然,所有web.xml制定的servlet classpath都可以)这样做,servlet中引用不成问题,但是,在jsp中用usebean引用,我试了好多次,都不行,还有引用taglib也是不行,看过生成的中间.java文件,都被编译成beans.Beans.instantiate(getClass().getClassLoader(), "Gauge")
浏览报错
Compilation of 'D:\weblogic\myserver\classfiles\jsp_servlet\_jsp\_index.java' failed:
--------------------------------------------------------------------------------
D:\weblogic\myserver\classfiles\jsp_servlet\_jsp\_index.java:80: ???????????
probably occurred due to an error in /jsp/index.jsp line 4:
<jsp:useBean id="Gauge" scope="page" class="Gauge"/>

D:\weblogic\myserver\classfiles\jsp_servlet\_jsp\_index.java:80: ???????????
probably occurred due to an error in /jsp/index.jsp line 4:
<jsp:useBean id="Gauge" scope="page" class="Gauge"/>

D:\weblogic\myserver\classfiles\jsp_servlet\_jsp\_index.java:86: ???????????
probably occurred due to an error in /jsp/index.jsp line 5:
<%Gauge.maxValue=10; %>


--------------------------------------------------------------------------------
Tue May 29 16:42:36 CST 2001
请赐教
...全文
17 点赞 收藏 回复
写回复
回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
相关推荐
发帖
Web 开发
创建于2007-09-28

8.0w+

社区成员

Java Web 开发
申请成为版主
帖子事件
创建了帖子
2001-05-29 05:12
社区公告
暂无公告