Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 54188 invoked from network); 16 Mar 2007 18:07:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Mar 2007 18:07:47 -0000 Received: (qmail 58957 invoked by uid 500); 16 Mar 2007 18:07:39 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 58943 invoked by uid 500); 16 Mar 2007 18:07:39 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 58927 invoked by uid 99); 16 Mar 2007 18:07:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2007 11:07:39 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jak-struts-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2007 11:07:26 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HSGpF-00087y-G5 for user@struts.apache.org; Fri, 16 Mar 2007 19:06:49 +0100 Received: from bas19-toronto12-1177964044.dsl.bell.ca ([70.54.78.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Mar 2007 19:06:44 +0100 Received: from laurie by bas19-toronto12-1177964044.dsl.bell.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Mar 2007 19:06:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: user@struts.apache.org From: Laurie Harper Subject: Re: Please help: Struts tags don't evaluate any expressions Date: Fri, 16 Mar 2007 14:06:25 -0400 Lines: 51 Message-ID: References: <9511739.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bas19-toronto12-1177964044.dsl.bell.ca User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) In-Reply-To: Sender: news X-Virus-Checked: Checked by ClamAV on apache.org You probably *don't* want the -el taglibs on Tomcat 5. You will need to make sure your web.xml uses the Servlet 2.4 style namespace declaration, though, to get EL working. For scriptlets, your problem is invalid syntax. An attribute value can be either plain text, or an RT expression. You can't mix the two forms. Try this instead: But I'd strongly suggest getting EL working and avoiding RT expressions and scriptlets altogether. L. Ed Griebel wrote: > I've done EL expressions like you want to do. Try using the -el > version of the html tag: > > > > On 3/16/07, irene wrote: >> >> Hi, >> I have a problem with Struts tags. >> I can't use any expression (EL, runtime) in the tag attributes : >> >> >> >> >> >> The result is an error: Invalid argument looking up property: >> "num_linea[<%=i%>]" >> >> I suppose i have something wrong in my webapp configuration... >> >> I use tomcat 5, struts 1.2.9 >> >> Please help!!! >> -- >> View this message in context: >> http://www.nabble.com/Please-help%3A-Struts-tags-don%27t-evaluate-any-expressions-tf3413607.html#a9511739 >> >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org >> For additional commands, e-mail: user-help@struts.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org