please note these:
at first step you should try this in this url ./WEB-INF/web.xml,
for example :
<servlet>
<servlet-name>Logout Servlet</servlet-name>
<servlet-class>com.basamadco.opxi.manager.servlet.LogoutServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Logout Servlet</servlet-name>
<url-pattern>/logoutServlet</url-pattern>
</servlet-mapping>
and when you define your servlet in web.xml your webserver like tomcat, see it in it;s own container.