I've LoginServlet.class file in Tomcat installation webapps/MiniBank/WEB-INF/classes/minibank/web/LoginServlet.class
When I submit from mbWelcome.jsp, the LoginServlet action not being invoked, Tomcat is not able to see the class LoginServlet, and giving error in the subject. I think some thing is missing in my configuration, can any one explain this behaviour.
For some reason, it looks for the Servlet class in the local dir. I thought adding the following lines to web.xml would make it look at: webapps/MiniBank/WEB-INF/classes/minibank/web/LoginServlet.class
web.xml: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">