in my web based java project, i have the following file structure in tomacat7
webapps
------------code
-----------------web-inf
----------------------classes
----------------------lib
----------------------src
-------------------------Bean
------------------------------MyBean.class
-------------------------Servlets
------------------------------ChangePassword.java
Here, Bean is a package with a single class that performs database operations.
Servlets contains the java servlets. ChangePassword is one of them.
I want to call the functions of MyBean in the ChangePassword.java.
the statement "import Bean.*;"
gives error message
"package Bean not found"
when i try to compile ChangePassword.java.
please help..........
thanQ....
webapps
------------code
-----------------web-inf
----------------------classes
----------------------lib
----------------------src
-------------------------Bean
------------------------------MyBean.class
-------------------------Servlets
------------------------------ChangePassword.java
Here, Bean is a package with a single class that performs database operations.
Servlets contains the java servlets. ChangePassword is one of them.
I want to call the functions of MyBean in the ChangePassword.java.
the statement "import Bean.*;"
gives error message
"package Bean not found"
when i try to compile ChangePassword.java.
please help..........
thanQ....