Error while importing package in Servlet
Todya my problem is with Servlet. I have a servlet name ControllerServlet and
There is another file name DataBean in package name bean. and directory structure is as follows.
When i compile DataBean it's fine but when i try to compile ControllerServlet.java it gives me error that "package bean does not exist".
This problem occurs only when i set the class path for servlet-api.jar. before this every package importion is successful. but after setting the class path for servlet, packages does not import.
Please help me what should i do to compile ControllerServlet.java file in which i have imported "bean.DataBean" and ControllerServlet class extends HttpServlet
Please help me.