I am creating a Login Application in JAVA.I am making the presentation in JSP and all the logic (Database connectivity) in Servlet [this is not a right approach I know that]
Try to edit your tomcat context.xml file and replace tag to , this helped me.
context.xml