Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

a mistake for bean  RSS feed

 
Peng Gensheng
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,can anybody help me?
when I used the beans in jsp page,a err throw"DBConnectManager.class,init()"
there are my code:
DBConnectManager.java

This is the DBConnect.java:

This the code i used in jsp page:

why the err throwed?
thanks!
[ December 24, 2002: Message edited by: gensheng peng ]
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This error source
throw"DBConnectManager.class,init()"

sounds to me like it can't find the class file.
If you set an error page for the JSP, you could probably extract more information from the error, possibly including the line it is thrown from.
Bill
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!