I am trying to use a bean in a
jsp, but I receive the message:
I am running
Tomcat 3.somethingOrOther. I have
Servlets and JSPs working fine. I have the Bean class compiled and in the /WEB-INF/classes directory of my WebApp directory. The Bean is not in a package.
According to the
Java Tutorial JavaBeans Trail, in order to be a Bean the class must implement Serializable, but Marty Hall's Core book never mentions it. Regardless, it does not work either way for me.
JSP useBean code:
Bean class code:
I have the
getXxx() methods, I've implemented Serializable, all the variables are private. I don't know why else it could not create the Bean...
TIA