ServletUsuarioLogin is a servlet and can be found at WEB-INF\classes\com\enlawebdekaaf\app\servlet\ login.jsp is placed at usuario\ which is where ServletUsuarioLogin redirects if you are not logged in Is the .war badly structured? It could be caused by the fact that Eclipse placed glassfish-web.xml and jboss-web.xml files under WEB-INF/ but no tomcat-web.xml file? I assumed that defining web.xml would be enough. Thank you very much for your interest i'm going crazy