This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I'm running Tomcat 3.2.3 on windows NT. I'm trying to instantiate a class using the jsp:useBean tag. It seems to work fine with other classes I have made but this one keeps giving me a ServletException: cannot create bean of class . . . Anyone of you smart people know what might cause this?
Andrew: ...instantiate a class using the jsp:useBean tag... FYI... If you are using the type attribute you cannot instantiate a bean. Hopefully you are using the class attribute of the usebean tag. just thought I will mention it... regds. - satya
Also, if you declared a constructor in your bean class with any number of arguments and forgot to explicitly define one no-argument constructor, then the JSP engine won't be able to instantiate a bean if the bean is not already in the desired scope.
Tony Alicea Senior Java Web Application Developer, SCPJ2, SCWCD