File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

a mistake for bean

 
Peng Gensheng
Greenhorn
Posts: 1
  • 0
  • 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: 13048
6
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic