I have stored the bean class in the destination derictory of my server from where my jsp page locates it and for that i had to make my beans as a packaged one
like this adding this line before import statements of my bean
package sunexamples.beans;
because my bean is in sub-directory of sunexapmples which is beans and my bean class resides there
Now If i want to use the same bean class in side my servlet I am giving its full path name but it is not able to locate it
I tried calling it through this way
sunexamples.beans.mybean b = new sunexamples.beans.mybean();
and this way also
classes.sunexamples.beans.mybean b =
new classes.sunexamples.beans.mybean();
but compiler is not able to locate it
Im totally confused how to access my bean through servlet