This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSP and the fly likes a mistake for bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "a mistake for bean" Watch "a mistake for bean" New topic
Author

a mistake for bean

Peng Gensheng
Greenhorn

Joined: Dec 24, 2002
Posts: 1
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 ]

I'm the new for java!
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
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
 
subject: a mistake for bean