Monday, May 31, 2004 05:20 AM
I am using Apache Tomcat web server. I have a java bean and a jsp. I had put the java bean inside web-inf/classes which is the default package. I am calling the java bean in the jsp using
in the above code, we have a property called age in the java bean Sample. If the bean is inside a package, for example p1, the class attribute will be p1.Sample, the above code works fine but if it is put straight away inside web-inf/classes folder, it shows could not resolve class Sample.
Could you find any solution for this problem?
Re: Calling a java bean into a jsp
Tuesday, June 1, 2004 06:07 AM