Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 99589 invoked from network); 12 Feb 2003 23:03:19 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 12 Feb 2003 23:03:19 -0000 Received: (qmail 26807 invoked by uid 97); 12 Feb 2003 23:04:55 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 26800 invoked from network); 12 Feb 2003 23:04:54 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 12 Feb 2003 23:04:54 -0000 Received: (qmail 98110 invoked by uid 500); 12 Feb 2003 23:03:01 -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 98093 invoked from network); 12 Feb 2003 23:03:01 -0000 Received: from f80.law14.hotmail.com (HELO hotmail.com) (64.4.21.80) by daedalus.apache.org with SMTP; 12 Feb 2003 23:03:01 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 12 Feb 2003 15:03:08 -0800 Received: from 128.123.130.247 by lw14fd.law14.hotmail.msn.com with HTTP; Wed, 12 Feb 2003 23:03:08 GMT X-Originating-IP: [128.123.130.247] From: "Swapneel Dange" To: tomcat-user@jakarta.apache.org Bcc: Subject: RE: compiling servlets ! Date: Wed, 12 Feb 2003 16:03:08 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 12 Feb 2003 23:03:08.0154 (UTC) FILETIME=[E8501DA0:01C2D2EA] 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 Wendy ! i tried the stuff u said about compiling the SERVETS, but only thing it does is to give me errors like these -- ^ HelloWorld.java:21: illegal escape character out.println("\cf2 \cf0 ");\par ^ HelloWorld.java:21: illegal escape character out.println("\cf2 \cf0 ");\par ^ HelloWorld.java:21: illegal character: \92 out.println("\cf2 \cf0 ");\par ^ HelloWorld.java:22: illegal escape character out.println("\cf2 \cf0 ");\par ^ HelloWorld.java:22: illegal escape character out.println("\cf2 \cf0 ");\par ^ HelloWorld.java:22: illegal character: \92 out.println("\cf2 \cf0 ");\par ^ HelloWorld.java:23: illegal character: \92 \}\par ^ HelloWorld.java:23: illegal character: \92 \}\par ^ HelloWorld.java:24: illegal character: \92 \}\f1\par ^ HelloWorld.java:24: illegal character: \92 \}\f1\par ^ HelloWorld.java:24: illegal character: \92 \}\f1\par ^ HelloWorld.java:24: '{' expected \}\f1\par ^ HelloWorld.java:26: illegal character: \0 ^ 100 errors C:\tomcat\jakarta-tomcat-3.3.1a\jakarta-tomcat-3.3.1a\webapps\swapneel\WEB-INF\c lasses\swapneel\servlets> I am not sure as to what i am doing wrong here. when i was using the JIGSAW webserver, i think it was working fine but here in TOMCAT i am not able to find the SOLUTION for this EZ problem. Swapneel Dange 505-642-4126 http://www.cs.nmsu.edu/~sdange >From: Wendy Smoak >Reply-To: "Tomcat Users List" >To: 'Tomcat Users List' >Subject: RE: compiling servlets ! >Date: Wed, 12 Feb 2003 15:50:34 -0700 > > > But i guess i am having problems > > with the compilation of the SERVLETS on the tomcat. I have also deifned >the > > classpath as following : > > >C:\tomcat\jakarta-tomcat-3.3.1a\jakarta-tomcat-3.3.1a\lib\common\servlet.jar > >Is that really the location of servlet.jar? With jakarta-tomcat-3.3.1a in >it twice? > > > and while compiling i am using the following command : > > javac -classpath HellowWorld.java , but what this command does is >nothing. >i > > mean there is no class file generated for this one. > >No, because you haven't specified one. When you use -classpath, the very >next thing is taken as the classpath. So you've told the compiler that >classpath=HellowWorld.java, and you have not specified a file to compile. >That's why it's not doing anything. > >If you're setting the classpath as an environment variable, then _don't_ >use >the command line switch. I prefer to use ant, or to specify the >classpath >on the command line. > >Try this: > >javac -classpath >C:\tomcat\jakarta-tomcat-3.3.1a\jakarta-tomcat-3.3.1a\lib\common\servlet.jar >HellowWorld.java > >(Was that a typo? Is it really HelloWorld.java?) > >-- >Wendy Smoak >Applications Systems Analyst, Sr. >Arizona State University PA Information Resources Management _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org