|
e.g. your javabean is in the package of A. you javabean class is B
then put this class file into the server. if you are using Tomcat,
then you need to create a directory named as A under the webapps/WEB-INF/classes/
and put the B.class into A directory, you will have the tree structure like this
----webapps
----WEB-INF
-------classes
------A
-------B
Remeber, you have to put your bean class into a package, this is the purpose of avoiding name conflicting problem, even it is not tend to be if you design your code carefully. |
|