I have a Client-Server (Client and server are seperate projects in eclipse) system setup in Eclipse(Mars) I now need to create a servlet in a new package on the client project.
when I am creating a class and trying to extend HttpServlet to it I am getting an error saying javax.servlet cannot be resolved.
When I am trying File->New->Servlet I am being able to create a new Project altogether but unable to create a servlet in the existing project.
How should I resolve the issue?