Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 72643 invoked from network); 6 Apr 2007 21:45:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Apr 2007 21:45:07 -0000 Received: (qmail 73194 invoked by uid 500); 6 Apr 2007 21:45:04 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 72811 invoked by uid 500); 6 Apr 2007 21:45:02 -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 72796 invoked by uid 99); 6 Apr 2007 21:45:02 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2007 14:45:02 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=MAILTO_TO_SPAM_ADDR,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [206.190.36.79] (HELO smtp101.rog.mail.re2.yahoo.com) (206.190.36.79) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 06 Apr 2007 14:44:54 -0700 Received: (qmail 15717 invoked from network); 6 Apr 2007 21:44:32 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=FEfAUxmBOvGHnRWdupm+mmn2ejfpDCSc1sEHXx+/sC4ViC1+yxkkum4O3oANedGlA4Fowehm+qS5MhIkV2u9oQPvTRsms1frCjzpp8dsj2Cikv5+V2AfFu7jmFXU4NEZbuYYNy1GRsE6lKtMbVxldhW1fTA3WNxHIX7RFlEkWiY= ; Received: from unknown (HELO ?192.168.1.102?) (mansour77@rogers.com@74.106.173.165 with plain) by smtp101.rog.mail.re2.yahoo.com with SMTP; 6 Apr 2007 21:44:32 -0000 X-YMail-OSG: La7UWVkVM1nuVbpVMKihPeflV7e3wzKVUX6ilncYeOiuCGQhYy08zyxj2opr3ApuYQ-- Message-ID: <4616BEFE.4040007@yahoo.com> Date: Fri, 06 Apr 2007 18:43:26 -0300 From: mansour77@yahoo.com User-Agent: Thunderbird 1.5.0.9 (X11/20061219) MIME-Version: 1.0 To: Struts Users Mailing List Subject: Re: Accesssing a bean from a jsp without struts tags References: <4616B51F.1040404@yahoo.com> In-Reply-To: <4616B51F.1040404@yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org OK, let me include more details, may be someone will understand what I am talking about. I have a list that belongs to a Bean that's wet in an action class. public AccountBean getAccountBean() { return accountBean; } AccountBean has an ArrayList calles invoices. now im my jsp, I need to display this in a datagrid, I am doing this, but it's not working:
that's the error I am getting: According to TLD or attribute directive in tag file, attribute items does not accept any expressions org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:518) org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:421) Any Idea ?? mansour77@yahoo.com wrote: > I have a bean that is set in an action class. I can access it using > struts tag, but what do I do if I need to access it from somewhere else ? > > for example, if I need to access it from a list iterator. > > Thanks. > > > > --------------------------------------------------------------------- > 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