得到
  • 汉语词
  • 汉语典q
当前位置 :
简单Javabean出错.ThevaluefortheuseBeanclassattributecom.db.testisinvalid.-----------错误----------------typeExceptionreportmessagedescriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfillingthisreq
1人问答
更新时间:2024-04-20 13:51:50
问题描述:

简单Javabean出错.ThevaluefortheuseBeanclassattributecom.db.testisinvalid.-----------错误----------------typeExceptionreportmessagedescriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfillingthisrequest.exceptionorg.apache.jasper.JasperException:/test.jsp(6,4)ThevaluefortheuseBeanclassattributecom.db.testisinvalid.org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1233)org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1178)org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)----------------test.java------------packagecom.db;publicclasstest{Stringname="zxm";publicStringgetName(){returnname;}publicvoidsetName(Stringname){this.name=name;}}-----------test.jsp------------<%@pagelanguage="java"pageEncoding="UTF-8"%><!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.01Transitional//EN"><html><head></head><body><jsp:useBean id="test"scope="page"/><%=test.getName()%></body></html>

高以智回答:
  已经提示的很明星了么,ThevaluefortheuseBeanclassattributecom.db.testisinvalid.,com.db.test没找到么
笔画序(bhxu.com)汇总了汉语字典,新华字典,成语字典,组词,词语,在线查字典,中文字典,英汉字典,在线字典,康熙字典等等,是学生查询学习资料的好帮手,是老师教学的好助手。
声明:本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。

邮箱:  联系方式: 联系客服:很高兴能够帮到您

Copyright©2009-2021 笔画序 bhxu.com 版权所有 闽ICP备19006478号-6