JSP tomcat 问题The value for the useBean class attribute books.Register is invalid.

来源:百度知道 编辑:UC知道 时间:2024/06/23 16:32:30
HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

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

exception

org.apache.jasper.JasperException: /userRegister.jsp(42,0) The value for the useBean class attribute books.Register is invalid.
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:1175)
org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1117)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2216)
or

500错误是逻辑处理错误,建议你useBean 里查找
可能是属性的赋值问题。
你看看吧!

500是语法错误。自己debug一下。

/userRegister.jsp的42行出错了
楼主,那就是你的books.Register有问题了
把代码贴出来看看吧

发代码上来看看