When you view the default index.jsp page, you are actually seeing the JSP page in the ROOT directory. By default, it'll read from this directory (read context) if you don't specify any.


For viewing anything placed somewhere other than the ROOT directory in /webapps, you need to specify the context.

In your case, it'd be:http://localhost:8080/myWork/<filename>

Hope this helps.
Saket






From: "Tim & Laly Huffman" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Subject: New startup
Date: Thu, 27 Feb 2003 11:40:33 -0500
MIME-Version: 1.0
Received: from apache.org ([208.185.179.12]) by mc10-f20.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 27 Feb 2003 08:44:39 -0800
Received: (qmail 42943 invoked by uid 500); 27 Feb 2003 16:42:30 -0000
Received: (qmail 42882 invoked from network); 27 Feb 2003 16:42:29 -0000
Received: from postoffice.tsiexpos.com (HELO postoffice.conninc.com) (12.150.146.198) by daedalus.apache.org with SMTP; 27 Feb 2003 16:42:29 -0000
Received: from o6c1x9 [12.150.150.213] by postoffice.conninc.com (SMTPD32-7.13) id AFF519E70244; Thu, 27 Feb 2003 11:42:29 -0500
X-Message-Info: dHZMQeBBv44lPE7o4B5bAg==
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
List-Subscribe: <mailto:[EMAIL PROTECTED]>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Post: <mailto:[EMAIL PROTECTED]>
List-Id: "Tomcat Users List" <tomcat-user.jakarta.apache.org>
Delivered-To: mailing list [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-RBL-Warning: DSN: Not supporting null originator (DSN)
X-Note: This E-mail was scanned by Declude JunkMail (www.declude.com) for spam.
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 27 Feb 2003 16:44:39.0829 (UTC) FILETIME=[854AF450:01C2DE7F]


I have Tomcat installed, along with JDK1.3.1.  As far as I know, all
variables are set.  When I start up Tomcat, I am able to see the default
index page from Apache.  I can maneuver through all pages using port 8080.

The problem lies in that when I create a html page, or a jsp page, I place
them in the webapps/myWork folder. Then, when I try to view them using the
localhost:8080, the browser (and I suppose Tomcat) tells me the page can't
be found. What am I doing wrong? A simple html page should just come right
up, I would think. Do jsp pages need to be compiled?


All help is appreciated. Thanks.....



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to