Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 69323 invoked from network); 11 Feb 2003 14:21:48 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 11 Feb 2003 14:21:48 -0000 Received: (qmail 1526 invoked by uid 97); 11 Feb 2003 14:23:19 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 1519 invoked from network); 11 Feb 2003 14:23:19 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 11 Feb 2003 14:23:19 -0000 Received: (qmail 64254 invoked by uid 500); 11 Feb 2003 14:20:17 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 64220 invoked from network); 11 Feb 2003 14:20:16 -0000 Received: from unknown (HELO wgateout.microfocus.com) (193.129.81.248) by daedalus.apache.org with SMTP; 11 Feb 2003 14:20:16 -0000 Received: from wgateout.microfocus.com (wgateout.microfocus.com [10.120.11.247]) by wgateout.microfocus.com (Build 101 8.9.3/NT-8.9.3) with SMTP id OAA32493 for ; Tue, 11 Feb 2003 14:20:33 GMT Received: from rock-corpmail.microfocus.com ([10.24.11.220]) by wgateout.microfocus.com (SAVSMTP 3.0.0.44) with SMTP id M2003021114203206716 for ; Tue, 11 Feb 2003 14:20:32 GMT Received: by rock-corpmail.microfocus.com with Internet Mail Service (5.5.2653.19) id ; Tue, 11 Feb 2003 09:19:30 -0500 Message-ID: <3AC103F1B7EEEC48A855ACB1D2819E9101500791@rock-corpmail.microfocus.com> From: Keppel Yin To: Tomcat Users List Subject: RE: servlet not working on tomcat 4.1.18 - help please!!! Date: Tue, 11 Feb 2003 09:19:29 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, Should you include a '/' in the url-pattern? Could you try to remove it ? Thanks, -----Original Message----- From: derrick.robertson@bt.com [mailto:derrick.robertson@bt.com] Sent: Tuesday, February 11, 2003 8:21 AM To: tomcat-user@jakarta.apache.org Subject: RE: servlet not working on tomcat 4.1.18 - help please!!! I thought the "intranettv" is a path default (an alias) whereas the IntranetTV is a classname and also the name that you are calling the servlet. Hence if i was to call a function in the servlet, would look something like: http://localhost:8080/intranettv/IntranetTV?func=CreateEmbedVideoWindow&arg= 942 Where intranettv is the path and IntranetTV is the servlet. (that was the way it worked in tomcat 3.2.1. Please tell me if that is wrong!) -----Original Message----- From: Larry Isaacs [mailto:Larry.Isaacs@sas.com] Sent: Tuesday, February 11, 2003 1:17 PM To: Tomcat Users List Subject: RE: servlet not working on tomcat 4.1.18 - help please!!! Is it a typo that "localhost:8080/intranettv" doesn't match the case in "/IntranetTV"? It needs to in order to work. Cheers, Larry > -----Original Message----- > From: derrick.robertson@bt.com [mailto:derrick.robertson@bt.com] > Sent: Tuesday, February 11, 2003 8:08 AM > To: tomcat-user@jakarta.apache.org > Subject: servlet not working on tomcat 4.1.18 - help please!!! > > > Im trying to migrate from tomcat 3.2.1 to tomcat 4.1.18. > > Basically, Ive got the tomcat 4.1.18 to start up and the > localhost:8080 runs > as do the examples such as jsp pages and servlet examples. > > Ive added context to the server.xml like: > > docBase="D:\internettv\admin\public_site" > debug="0" > reloadable="true" > crossContext="false"> > > > In the folder public_site, i have a Web-inf folder with a > web.xml in it. > My web.xml looks like this: > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" > "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> > > > > IntranetTV > > This is the IntranetTV application with a source code > organization > based on the recommendations of the Application > Developer's Guide. > > > > IntranetTV > > com.bt.intranettv.view.IntranetTV > > root > > D:\intranettv\admin\public_site\ > > -100 > > > > IntranetTV > /IntranetTV > > > > My problem is that when i then go to url localhost:8080/intranettv > the browser displays a 404 error - intranet. > The requested resource (/intranet) is not available. > > what have I done wrong, or what can i do to put it right?? > > (PS I have compiled the classes with java 1.2 but the tomcat > is running with > java 1.4 - will this cause any problems - it should be > backwards compatible) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org