From lucene-user-return-5027-qmlist-jakarta-archive-lucene-user=nagoya.apache.org@jakarta.apache.org Thu Jul 17 08:32:22 2003 Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 98288 invoked from network); 17 Jul 2003 08:32:19 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 17 Jul 2003 08:32:19 -0000 Received: (qmail 7997 invoked by uid 97); 17 Jul 2003 08:35:00 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@nagoya.betaversion.org Received: (qmail 7990 invoked from network); 17 Jul 2003 08:35:00 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 17 Jul 2003 08:35:00 -0000 Received: (qmail 97987 invoked by uid 500); 17 Jul 2003 08:32:14 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 97970 invoked from network); 17 Jul 2003 08:32:13 -0000 Received: from ns1.syntegra.com (150.143.16.2) by daedalus.apache.org with SMTP; 17 Jul 2003 08:32:13 -0000 Received: from [129.179.161.11] by ns1.syntegra.com with ESMTP for lucene-user@jakarta.apache.org; Thu, 17 Jul 2003 08:32:26 Z Received: from JVA002 ([129.179.174.6] [129.179.174.6]) by ah-intrastore-01.us.syntegra.com for lucene-user@jakarta.apache.org; Thu, 17 Jul 2003 03:32:25 -0500 From: "Jimmy Van Broeck" To: "'Lucene Users List'" Subject: RE: result.jsp in the webdemo Date: Thu, 17 Jul 2003 10:34:05 +0200 Message-Id: <000601c34c3e$2f864d80$1400a8c0@intranet.syntegra.be> X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <1057832746.3f0d3f2a0512c@webmail.bth.se> Importance: Normal MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Because interface is a reserved keyword in Java. You cann't utilise a variable named interface just like class,implements,.... Greetings Jimmy **************** Jimmy Van Broeck Syntegra, creating winners in the digital economy +32 2 247 92 20 - check us out at www.syntegra.be **************** -----Original Message----- From: di99mwo@student.bth.se [mailto:di99mwo@student.bth.se] Sent: donderdag 10 juli 2003 12:26 To: Lucene Users List Subject: Re: result.jsp in the webdemo I choosed another variable name, then it worked, but why? /Michelle Quoting di99mwo@student.bth.se: > Hello. > > I'm trying to modify the result.jsp file in lucene webdemo. I can create a > for- > loop but can't declare any variable anywhere in the jsp file. > > I get the the following error: > > Generated servlet error: > C:\jakarta-tomcat-4.0.6 > \work\Standalone\localhost\luceneweb\results$jsp.java:250: Invalid expression > > statement. > int interface; > ^ > > > An error occurred between lines: 104 and 120 in the jsp file: /results.jsp > > Generated servlet error: > C:\jakarta-tomcat-4.0.6 > \work\Standalone\localhost\luceneweb\results$jsp.java:250: ';' expected. > int interface; > ^ > > > An error occurred between lines: 104 and 120 in the jsp file: /results.jsp > > Generated servlet error: > C:\jakarta-tomcat-4.0.6 > \work\Standalone\localhost\luceneweb\results$jsp.java:250: '}' expected. > int interface; > ^ > > > An error occurred between lines: 104 and 120 in the jsp file: /results.jsp > > Generated servlet error: > C:\jakarta-tomcat-4.0.6 > \work\Standalone\localhost\luceneweb\results$jsp.java:250: Identifier > expected. > int interface; > ^ > 4 errors, 1 warning > > > > thanks. > > /Michelle > > > > > > > > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: lucene-user-help@jakarta.apache.org > > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org