Re: converting bean:write to c:out

2004-06-07 Thread Richard Raquepo
IL PROTECTED]> Sent: Tuesday, June 08, 2004 1:42 AM Subject: Re: converting bean:write to c:out > Well, sort of. In the typical example of a mapped property (like the one Richard > provided), the map itself isn't exposed as a JavaBean property, so JSTL can't > get at the inf

Re: converting bean:write to c:out

2004-06-07 Thread Bill Siggelkow
Oops -- you're right Kris -- thanks for the clarification. Kris Schneider wrote: Well, sort of. In the typical example of a mapped property (like the one Richard provided), the map itself isn't exposed as a JavaBean property, so JSTL can't get at the information it contains: private final Map value

Re: converting bean:write to c:out

2004-06-07 Thread Kris Schneider
Well, sort of. In the typical example of a mapped property (like the one Richard provided), the map itself isn't exposed as a JavaBean property, so JSTL can't get at the information it contains: private final Map values = new HashMap(); public void setValue(String key, Object value) { values.pu

Re: converting bean:write to c:out

2004-06-07 Thread Bill Siggelkow
-- or -- Richard Raquepo wrote: hi, i am converting some of the jsp's to jstl. how do i convert this line to jstl: where getValue is defined as HashMap values = new HashMap(); . public String get(String name){ String value = (String) values.get(name); return value; } hoping

converting bean:write to c:out

2004-06-07 Thread Richard Raquepo
hi, i am converting some of the jsp's to jstl. how do i convert this line to jstl: where getValue is defined as HashMap values = new HashMap(); . public String get(String name){ String value = (String) values.get(name); return value; } hoping for your immediate response.

converting bean:write to c:out

2004-06-07 Thread Richard Raquepo
hi, i am converting some of the jsp's to jstl. how do i convert this line to jstl: where getValue is defined as HashMap values = new HashMap(); . public String get(String name){ String value = (String) values.get(name); return value; } hoping for your immediate response.