I have a j2ee application with a web.xml having a default servlet to handle all requests.
<servlet>
<servlet-name>controller</servlet-name>
<servlet-class>gr.comp.pjx.controller.FrontController</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>controller</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
The strange behavior is when the application's context is loaded. So, when netbeans loads http://localhost:8080/my_application/
I see that my servlet class(i.e. gr.comp.pjx.controller.FrontController
) does not catch the request. This was not the case when having Tomcat 6. In addition to this, when I manually enter a page url e.g. http://localhost:8080/my_application/login.jsp
the same servlet class catches normally the request as it was expected.
Does anyone have a similar issue?