Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 21983 invoked from network); 10 Mar 2005 18:53:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Mar 2005 18:53:41 -0000 Received: (qmail 94218 invoked by uid 500); 10 Mar 2005 18:53:26 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 94198 invoked by uid 500); 10 Mar 2005 18:53:26 -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 94182 invoked by uid 99); 10 Mar 2005 18:53:26 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from usbb-lacimss1.unisys.com (HELO usbb-lacimss1.unisys.com) (192.63.108.51) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 10 Mar 2005 10:53:25 -0800 Received: from USBB-LACGW3.na.uis.unisys.com ([129.224.98.43]unverified) by usbb-lacimss1 with InterScan Messaging Security Suite; Thu, 10 Mar 2005 14:01:05 -0500 Received: from USBB-LACGW3.na.uis.unisys.com ([129.224.98.44]) by USBB-LACGW3.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 10 Mar 2005 13:53:21 -0500 Received: from USRV-EXCH4.na.uis.unisys.com ([192.61.245.232]) by USBB-LACGW3.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 10 Mar 2005 13:53:21 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Cannot compile class in WEB-INF/classes Date: Thu, 10 Mar 2005 12:53:19 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Cannot compile class in WEB-INF/classes Thread-Index: AcUloMry8Tj3EnYER4OriCqFkXV6GgAAN1FA From: "Caldarale, Charles R" To: "Tomcat Users List" X-OriginalArrivalTime: 10 Mar 2005 18:53:21.0827 (UTC) FILETIME=[6E78D730:01C525A2] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > From: Rahul Joshi [mailto:rj365@yahoo.com] > Subject: RE: Cannot compile class in WEB-INF/classes >=20 > I did not try compiling it at an external location. I > thought I would compile it in classes and then delete > the source java file later.=20 That shouldn't matter. You can leave the source in the WEB-INF/classes = directory if you wish; Tomcat will pay no attention to it. > But does it mean that a java file cannot be compiled=20 > in "WEB-INF/classes" if it is accessing Tomcat's own=20 > servlet-api.jar? As another responder stated earlier, Tomcat will not compile your = utility classes - you have to do that on your own. To do so, you need = to tell javac (or whatever compiler you're using) what path to use to = find the imported packages. The compiler doesn't know where Tomcat puts = things. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY = MATERIAL and is thus for use only by the intended recipient. If you = received this in error, please contact the sender and delete the e-mail = and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org