Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 48979 invoked from network); 8 Aug 2006 10:58:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Aug 2006 10:58:53 -0000 Received: (qmail 7219 invoked by uid 500); 8 Aug 2006 10:58:40 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 7201 invoked by uid 500); 8 Aug 2006 10:58:40 -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 7190 invoked by uid 99); 8 Aug 2006 10:58:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 03:58:40 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [134.100.9.70] (HELO mailhost.informatik.uni-hamburg.de) (134.100.9.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 03:58:39 -0700 Received: from localhost (localhost [127.0.0.1]) by mailhost.informatik.uni-hamburg.de (Postfix) with ESMTP id 61C32B304 for ; Tue, 8 Aug 2006 12:58:18 +0200 (CEST) X-Virus-Scanned: amavisd-new at informatik.uni-hamburg.de Received: from mailhost.informatik.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.informatik.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8WeMltkw+qeD for ; Tue, 8 Aug 2006 12:58:17 +0200 (CEST) Received: from nats47.informatik.uni-hamburg.de (nats47.informatik.uni-hamburg.de [134.100.10.127]) by mailhost.informatik.uni-hamburg.de (Postfix) with ESMTP id A260AB2F6 for ; Tue, 8 Aug 2006 12:58:17 +0200 (CEST) Received: by nats47.informatik.uni-hamburg.de (Postfix, from userid 113) id 8B781836A7; Tue, 8 Aug 2006 12:58:17 +0200 (CEST) Received: from [134.100.10.126] (nats26.informatik.uni-hamburg.de [134.100.10.126]) by nats47.informatik.uni-hamburg.de (Postfix) with ESMTP id A393F8362E for ; Tue, 8 Aug 2006 12:58:16 +0200 (CEST) Message-ID: <44D86ED8.4090109@nats.informatik.uni-hamburg.de> Date: Tue, 08 Aug 2006 13:00:40 +0200 From: Le Nguyen-Thinh User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060607 Debian/1.7.12-1.2 X-Accept-Language: en MIME-Version: 1.0 To: Tomcat Users List Subject: Taglibs ; error in a JSP using expression langluage Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear friends, I have a JSP which uses following taglibs: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> My JSP contains a piece of code which calls a tag from the taglib above: The Tomcat server returns following error: java.lang.NumberFormatException: For input string: "${0}" java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) java.lang.Integer.parseInt(Integer.java:447) java.lang.Integer.valueOf(Integer.java:553) org.apache.jasper.compiler.JspUtil.coerceToInt(JspUtil.java:752) It seems to me that Tomcat could not interpret the JSP. My question is, do I miss some libraries? Do My application runs on Linux Debian, Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05) (j2sdk1.5-sun). The taglibs jstl.jar and standard.jar stem from jakarta-taglibs-standard-1.1.2. Thanks a lot for your help. Thinh --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org