Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 80158 invoked from network); 14 Jun 2004 21:38:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Jun 2004 21:38:36 -0000 Received: (qmail 2276 invoked by uid 500); 14 Jun 2004 21:38:36 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 1957 invoked by uid 500); 14 Jun 2004 21:38:34 -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 1902 invoked by uid 99); 14 Jun 2004 21:38:34 -0000 Received: from [129.219.110.120] (HELO post5.inre.asu.edu) (129.219.110.120) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 14 Jun 2004 14:38:34 -0700 Received: from conversion.post5.inre.asu.edu by asu.edu (PMDF V6.1-1X6 #30769) id <0HZB00B01IQ6C4@asu.edu> for tomcat-user@jakarta.apache.org; Mon, 14 Jun 2004 14:37:18 -0700 (MST) Received: from ex3.asurite.ad.asu.edu (ex3.asurite.ad.asu.edu [129.219.10.247]) by asu.edu (PMDF V6.1-1X6 #30769) with ESMTP id <0HZB00AG6IQ6HB@asu.edu> for tomcat-user@jakarta.apache.org; Mon, 14 Jun 2004 14:37:18 -0700 (MST) Date: Mon, 14 Jun 2004 14:37:19 -0700 From: Wendy Smoak Subject: RE: How do I run servlets on the root directory of localhost? To: Tomcat Users List Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6487.1 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: quoted-printable Thread-Topic: How do I run servlets on the root directory of localhost? Thread-Index: AcRSVa270+vKo5d3QJeiqLR/GJXJOAAAJgJA content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Seth Carter wrote: > i can get to webMathematica right now by going to=20 > http://localhost/webMathematica , what I want is=20 > when I go to http://localhost=20 > it would bring up webMathematica. Copying everything to the ROOT subdirectory, which you've already noted is the default root webapp, should have worked. Try completely stopping Tomcat, renaming ROOT to something else, and then renaming webMathematica to 'ROOT'. Maybe something didn't copy over correctly. When the images are not appearing, view the HTML source of the page and see where it's trying to load them from, vs. where they actually are. Or... Find this part of server.xml, uncomment it, and change the docBase to wherever your files are. Note that it's relative to 'webapps'. This is from 4.1.30, adjust as necessary for a different Tomcat version. --=20 Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management=20 --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org