Hi Cristian Here is a web.xml which will map a servlet like you wish...
<servlet> <servlet-name>myservlet</servlet-name> <display-name>myservlet</display-name> <servlet-class>com.company.myservlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>myservlet</servlet-name> <url-pattern>/</url-pattern> </servlet-mapping> Everything in that context will now execute the said servlet unless there is another mapping which can be mapped to another servlet. The following URL will execute your servlet http://server/context/ Hope this helps. ps: try looking at putting your application in webapps/ROOT if you don't want the context path so the url would look like.... http://server Haven't tested this but I think it should work also... Donie -----Original Message----- From: clai [mailto:[EMAIL PROTECTED]] Sent: 16 November 2001 08:52 To: Tomcat Users List Subject: servlet information Hi, i'm working with Tomcat and Windows 2000. Is it possible to set up the server to do this thing ? : it should start always the same same servlet when it receive an HTTP request ( whatever request, so to catch the context of the request into the servlet ). Thanks cristian -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>