Hello! Right, but I dont want an extension.
http://localhost/myProject/login.do --> sould be http://localhost/myProject/login I have tried <servlet-mapping> <servlet-name>action</servlet-name> <url-pattern>/*</url-pattern> </servlet-mapping> But it does not work. Only this works: Then I have no extensions in the action but "aName" in the URL http://localhost/myProject/aName/login <servlet-mapping> <servlet-name>action</servlet-name> <url-pattern>/aName/*</url-pattern> </servlet-mapping> From: Martin Gainty <[EMAIL PROTECTED]> Subject: Change the ".do" extension Date: Mon, 29 Sep 2003 10:21:09 -0400 Content-Type: text/plain; charset="iso-8859-1" Dirk- in web.xml change <!-- Action Servlet Mapping --> <servlet-mapping> <servlet-name>action</servlet-name> <url-pattern>*.do</url-pattern> </servlet-mapping> to whatever extension you wish to trigger action.. Vielen Dank, -Martin ______________________________________________________________________________ Die Besten ihrer Klasse! WEB.DE FreeMail (1,7) und WEB.DE Club (1,9) - bei der Stiftung Warentest - ein Doppelsieg! http://f.web.de/?mc=021184 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]