日期:2014-05-18  浏览次数:20806 次

使用Bean时出错
连接bean时报错如下:
type   Exception   report

message  

description   The   server   encountered   an   internal   error   ()   that   prevented   it   from   fulfilling   this   request.

exception  

org.apache.jasper.JasperException:   /test/usebean.jsp(11,0)   The   value   for   the   useBean   class   attribute   .swing.UseBeanBean   is   invalid.



------解决方案--------------------
这个类你编译好并且放到class下面了吗?
attribute .swing.UseBeanBean
------解决方案--------------------
一定要求放在class文件夾下才能被執行
------解决方案--------------------
org.apache.jasper.JasperException: /test/usebean.jsp(11,0) The value for the useBean class attribute .swing.UseBeanBean is invalid.

到usebean.jsp中去找11行,问题:attribute.swing.UseBean 非法,
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.aiyiweb.com/java-web/317.html