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.
there is some what i like to know about you directory structure or where you getting i mean compile time or run time..
or its better to paste you Exception or Error with your Query.. it will be more convenient for others to find out the error cause.
In case your running jdk1.4 or later then have your
java beans classes in a package and place the package
in the classes folder under the WEB-INF folder.
What u r saying is really good. But still me also facing some problem concerning to jsp and bean. wat u said i did but i cant find the answer. So plz will u send me the complte code with where i have to save the bean file or etc..
place you compile beans file inside your WEB-INF/classes folder then try.
make sure your already import your package inside you jsp if you created your bean inside package..
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.