Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 19516 invoked by uid 500); 30 May 2001 12:23:43 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 19508 invoked from network); 30 May 2001 12:23:42 -0000 Received: from popa.goldenlines.net.il (HELO fep1.012.net.il) (212.117.129.200) by h31.sny.collab.net with SMTP; 30 May 2001 12:23:42 -0000 Received: from asa ([212.199.2.114]) by fep1.012.net.il with SMTP id <20010530122243.VPXG557.fep1@asa> for ; Wed, 30 May 2001 15:22:43 +0300 From: "Asa Bar-David" To: Subject: RE: change default servlet Date: Wed, 30 May 2001 15:23:20 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1255" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal In-Reply-To: X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Thanks for the reply, when deploying a WAR file I always need to add the WAR file name before the "/servlet/" for example: if the WAR file name is Tash.war when posting to a servlet I need to write /Tash/servlet/servletName. On the IDE I'm using (Forte for java)the default servlet uri is /servlet/ with no need to add the lib name "Tash" before it. so anything I do on the IDE will not work on tomcat because it's looking for the "Tash" before the /servlet/. what can I do to easily deploy war file from the IDE to tomcat with out the need to add the WAR file name before the /servlet/ -----Original Message----- From: Randy Layman [mailto:randy.layman@aswethink.com] Sent: Wednesday, May 30, 2001 4:21 AM To: tomcat-user@jakarta.apache.org Subject: RE: change default servlet Either create a mapping in the web.xml file (using and tags, or edit the server.xml file and change the ServletInvoker's prefix. The first is definitely the preferred method since its supported by the JSP Spec and doesn't affect any other servlets. The second is less flexible. Randy > -----Original Message----- > From: Asa Bar-David [mailto:asa@dortal.co.il] > Sent: Wednesday, May 30, 2001 5:43 PM > To: tomcat-user@jakarta.apache.org > Subject: change default servlet > > > Hi, > > How can I change the default "/servlet/" uri when I am > posting to servlets ? >