I'm using netbeans 6.9.1 to build up a task using frameworks Hibernate 3.2.5 and JavaServer Faces, i most likely adopted this tutorial
Within this tutorial it uses GlassFish 3 to create the project that we did too and delay pills work fine. However when i used it to my server on apache tomcat 7, it gives this error "Class DBws.DBws isn't a Servlet"
I transformed the server from glassfish to apache in netbeans also it began giving error in file about this location
import javax.faces.bean.ManagedBean; import javax.faces.bean.SessionScoped; import javax.faces.model.DataModel; import javax.faces.model.ListDataModel;
having a red-colored line under javax, how to proceed now, thanks