Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 86142 invoked from network); 19 Sep 2009 01:05:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Sep 2009 01:05:31 -0000 Received: (qmail 66234 invoked by uid 500); 19 Sep 2009 01:05:27 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 66156 invoked by uid 500); 19 Sep 2009 01:05:27 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 66144 invoked by uid 99); 19 Sep 2009 01:05:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Sep 2009 01:05:26 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rafael_muneton@hotmail.com designates 65.54.246.80 as permitted sender) Received: from [65.54.246.80] (HELO bay0-omc1-s8.bay0.hotmail.com) (65.54.246.80) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Sep 2009 01:05:16 +0000 Received: from BAY112-W49 ([64.4.26.149]) by bay0-omc1-s8.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 18 Sep 2009 18:04:56 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_d1d6b970-225c-45be-8567-c08532ac263a_" X-Originating-IP: [189.161.83.209] From: Rafael Muneton To: Subject: Why "tomcat" didn't compile my jsp's Date: Sat, 19 Sep 2009 01:04:56 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 19 Sep 2009 01:04:56.0661 (UTC) FILETIME=[340F4850:01CA38C5] X-Virus-Checked: Checked by ClamAV on apache.org --_d1d6b970-225c-45be-8567-c08532ac263a_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hello everyone: I=92m learning the Struts framework and in my first Web Application=2C that= contains only a JSP with the classic Hello World! Message=2C I have some p= roblems. =20 I=92m using Windows XP SP2 as the OS. Apache Tomcat 5.5 as the web server. Ant 1.7.1 and Java 1.6 SDK. =20 In my first steps I deployed my Hello.jsp into Tomcat using the Tomcat Mana= ger and it seemed OK but the Hello.jsp didn=92t compile. So I googled my = problem and someone told me that this job could be done by =93ANT=94 not b= y =93TOMCAT=94. Therefore I downloaded and installed Ant 1.7.1 and after se= veral attempts it worked! =20 Using the command options =93ant compile=94 or =93ant all=94 created the = hierarchy directories to be deployed into Tomcat=2C but again=2C my Hello.j= sp didn=92t compile. =20 So one question is: Is this a job for ANT or for TOMCAT? =20 Somewhere I read that a JSP passes by two steps in the process: The first one translates the Hello.jsp into a Hello.java and the sec= ond one converts the Hello.java into a Hello.class. =20 How can I achieve this using ANT or TOMCAT? Any ideas? Thanks. _________________________________________________________________ With Windows Live=2C you can organize=2C edit=2C and share your photos. http://www.microsoft.com/middleeast/windows/windowslive/products/photo-gall= ery-edit.aspx= --_d1d6b970-225c-45be-8567-c08532ac263a_--