F
fishfry
I'm just learning how to use JSP's to invoke simple Java Beans. The
concepts are clear but I can't get my example to work. The problem is
that my JSP can't find my Bean class.
Is it mandatory for the Bean to be packaged in a jar file? Do I have to
use the BDK? Or is it sufficient to write a class that conforms to Bean
conventions, compile it, and put the class file along my classpath? I'm
pretty sure I already have my Bean class file in my classpath, because
it's in the same place as my other Tomcat servlets and they run fine.
I've Googled around for tutorials and strangely, I can't find the simple
answer I'm looking for. Any help greatly appreciated.
concepts are clear but I can't get my example to work. The problem is
that my JSP can't find my Bean class.
Is it mandatory for the Bean to be packaged in a jar file? Do I have to
use the BDK? Or is it sufficient to write a class that conforms to Bean
conventions, compile it, and put the class file along my classpath? I'm
pretty sure I already have my Bean class file in my classpath, because
it's in the same place as my other Tomcat servlets and they run fine.
I've Googled around for tutorials and strangely, I can't find the simple
answer I'm looking for. Any help greatly appreciated.