Libraries Users List
Subject: Re: JSTL and HashMap: How does it work?
Kris Schneider wrote:
>Nope, you can do it. From the spec:
>
><%-- productDir is a Map object containing the description of
> products, preferences is a Map object containing the
> preferences of a
Kris Schneider wrote:
>Nope, you can do it. From the spec:
>
><%-- productDir is a Map object containing the description of
> products, preferences is a Map object containing the
> preferences of a user --%>
>product:
>
>shipping preference:
>
>
>
Hey, isn't that what I said?!
Pb
ge-
> From: Gideon, Thomas [mailto:[EMAIL PROTECTED]]
> Sent: Mittwoch, 9. Oktober 2002 20:58
> To: 'Tag Libraries Users List'
> Subject: RE: JSTL and HashMap: How does it work?
>
>
> With a Map in the tag, you need to de-reference the value
> explicitly
tober 2002 20:58
To: 'Tag Libraries Users List'
Subject: RE: JSTL and HashMap: How does it work?
With a Map in the tag, you need to de-reference the value
explicitly in your EL in the nested , like so:
stock.numberOfCharts =
stock.charts =
com
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 09, 2002 2:03 PM
> To: [EMAIL PROTECTED]
> Subject: JSTL and HashMap: How does it work?
>
>
> Hi all
>
> According to the documentation, it's possible t
Message-
> From: Roberto Mannai [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 09, 2002 2:26 PM
> To: Tag Libraries Users List
> Subject: Re: JSTL and HashMap: How does it work?
>
>
> I don't know JSTL, but Hashmap does not implement
> Colle
[EMAIL PROTECTED] wrote:
>chart =
>
>I get
>
>javax.servlet.ServletException: /jsp/financialdata/show.jsp(33,40) Attribute
>1M has no value
>
I'm way out of my area of expertise here, but I was immediately
concerned about the double
quotes--does chart = work?
Dave
--
To unsubscribe, e-mail
I don't know JSTL, but Hashmap does not implement
Collection interface.
Regards,
Roberto
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 09, 2002 8:02 PM
Subject: JSTL and HashMap: How does it work?
> Hi all
Hi all
According to the documentation, it's possible to get data from a HashMap in
JSTL. Unfortunately, it doesn't really work for me...
Here's the deal: A stock has a collection of charts, thus:
stock.numberOfCharts =
stock.charts =
-> chart =
results in
stock.numberOfCharts = 9