The value for the useBean class attribute MyBean.dbcon is invalid什么意思?
来源:百度知道 编辑:UC知道 时间:2024/05/28 08:40:23
这个是什么意思?
谢谢
谢谢
意思是说MyBean 类的dbcon 属性的值是无效的
从别人那拷过来的,参考下,其实都可以搜到的!
Tomcat 报告 “The value for the useBean class attribute XXX is invalid” 这个错误可能源于以下几个原因: 1. 在编译 JSP 时 ,指定的 Bean 类没找到 2. Bean 虽然找到了,但是该类不是 public 的,或者找到的 class 文件是 interface 或抽象类 3. Bean 类中没有 public 的无参数构建函数
WEB-INF的目录结构如下:
--->classes(必须的 存放你编写的java class)
--->web.xml(必须的)
--->其他
两个小问题你试一下,一个是那个WEB-INF目录下应该建文件夹是classes,而不是class,另外你的那个Bean原文件的第一个句是否有加package bean;试一下吧,不确定,这些小问题都是在尝试中慢慢发现的。
For Mexico and Venezuela the value of
The value for the useBean class attribute bean.StudentBean is invalid
can’t see the wood for the trees
THE VALUE OF FRIENDS
The Value of Time
people don't realize the value of health until they lose it
jsp:useBean id="sqlBean"错误 The value for the useBean class attribute sql is invalid
麻烦翻译:20 tons net inside for the fines and 20.54 t for the coarse.
I can`t bear to wait for the bus.是什么意思??
You haven’t got the face for it. 是什么意思阿?