Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 93198 invoked from network); 6 Aug 2003 21:09:56 -0000 Received: from ns11.dnsprotect.com (HELO velocity.dnsprotect.com) (209.50.252.235) by daedalus.apache.org with SMTP; 6 Aug 2003 21:09:56 -0000 Received: from [65.215.131.2] (helo=badboy) by velocity.dnsprotect.com with esmtp (Exim 4.20) id 19kVWi-00031U-3P for tomcat-user@jakarta.apache.org; Wed, 06 Aug 2003 17:08:56 -0400 From: "Gregg Bolinger" To: "'Tomcat Users List'" Subject: RE: URI Servlet Path Problems Date: Wed, 6 Aug 2003 16:10:02 -0500 Message-ID: <000d01c35c5f$1b9abc80$cd00a8c0@badboy> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <00e301c35c5e$ce86ae40$6f00000a@BALTHAZAR> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - velocity.dnsprotect.com X-AntiAbuse: Original Domain - jakarta.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedthought.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I did that. But here is the problem with that. My pages are under a folder called "secure" so then the URL was http://localhost:8080/holocron/secure/holocron/servlet/AddReference ha. Thanks for the quick response though. Gregg -----Original Message----- From: Mike Curwen [mailto:gb_dev@gb-im.com] Sent: Wednesday, August 06, 2003 4:08 PM To: 'Tomcat Users List' Subject: RE: URI Servlet Path Problems take off the leading slash on the form's action, so that it's referencing your web-app (root), and not the server root. The URI pattern still needs the leading slash. > -----Original Message----- > From: Gregg Bolinger [mailto:gdboling@embeddedthought.com] > Sent: Wednesday, August 06, 2003 4:04 PM > To: tomcat-user@jakarta.apache.org > Subject: URI Servlet Path Problems > > > I have a web app in the following directory c:\tomcat\webapps\holocron > > I have specified my URI to a servlet as > /servlet/AddReference > > And in my form I have action="/servlet/AddReference" > > The problem is that when I click the submit button, I am > taken to http://localhost:8080/servlet/AddReference and what > it should be is http://localhost:8080/holocron/servlet/AddReference > > So I am getting an error Cannot Find Servlet/Path etc. Now, > if I change my action to > action="/holocron/servlet/AddReference" it works just fine, > but that doesn't make any sense to me. I have read a bit on > the Invoker Servlet being turned off in Tomcat 4.1.24 but > can't really find any good information on it. Can someone > explain to me what is going on here? > > Thanks. > > Gregg > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org