title: How to create a servlet in an existing package of a project
body: <p>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. </p>
  
  <p>when I am creating a class and trying to extend HttpServlet to it I am getting an error saying javax.servlet cannot be resolved.</p>
  
  <p>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.</p>
  
  <p>How should I resolve the issue?</p>