This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "a mistake for bean" Watch "a mistake for bean" New topic

a mistake for bean

Peng Gensheng

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:

This is the

This the code i used in jsp page:

why the err throwed?
[ December 24, 2002: Message edited by: gensheng peng ]

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

Joined: Mar 22, 2000
Posts: 12761
This error source

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.
subject: a mistake for bean
Similar Threads
connection pooling+jsp
Lost properties
does gc still have a chance to do its job if i kill the java process
pool name in DBConnectionManager
why jsp cannot use this class, which is no problem when compile singlely.