The get method must be public, otherwise the JSTL tag class cannot see it to invoke it.
> -----Original Message----- > From: Marcelo Flores A. [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 27, 2002 12:43 PM > To: Tag Libraries Users List > Subject: Re: jsp:getProperty > > > and the attribute MyClass1's myClass2 will have public or > same is private ?? > > Atte. Marcelo Flores > [EMAIL PROTECTED] > Aditiva S.A. > ----- Original Message ----- > From: Gideon, Thomas > To: 'Tag Libraries Users List' > Sent: Friday, September 27, 2002 12:31 PM > Subject: RE: jsp:getProperty > > > I had an example in my first response, I'll repeat it here. > > Using your MyClass1 and MyClass2 as you defined them: > > <c:out value="${MyClass1.myClass2.name2}"/> > > For this to work, you must have JSTL installed and a taglib > directive in > your jsp, for example > > <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"/> > > Thomas Gideon > Sr. Software Developer > B2eMarkets > > 301.230.2236 Tel. > 301.230.2248 Fax. > [EMAIL PROTECTED] > www.B2eMarkets.com > > > > > -----Original Message----- > > From: Marcelo Flores A. [mailto:[EMAIL PROTECTED]] > > Sent: Friday, September 27, 2002 11:30 AM > > To: Tag Libraries Users List > > Subject: Re: jsp:getProperty > > > > > > boys yours have a example with this than will could send me. > > > > please.... > > > > Thank you > > > > Atte. Marcelo Flores > > [EMAIL PROTECTED] > > Aditiva S.A. > > ----- Original Message ----- > > From: Shawn Bayern > > To: Tag Libraries Users List > > Sent: Friday, September 27, 2002 10:36 AM > > Subject: Re: jsp:getProperty > > > > > > On Fri, 27 Sep 2002, Marcelo Flores A. wrote: > > > > > but not exist some tag than do it without the > necessity of add a > > > method in MyClass1 ? > > > > Yes, all JSTL tags let you use the expression language > that Thomas > > described. And the expression language will be a standard > > part of JSP as > > of version 2.0. > > > > Shawn > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>