RE: Any Hashmap examples used in jsp page? - still not working

2001-06-05 Thread Dudley [EMAIL PROTECTED]
o find out whether the map has a certain key in it, without having to loop the whole way. I'm trying to use a logic:equals tag help!!! -Original Message- From: Steve A Drake [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 3:17 AM To: [EMAIL PROTECTED] Subject: RE: Any Hashma

RE: Any Hashmap examples used in jsp page?

2001-06-04 Thread Steve A Drake
On Mon, 4 Jun 2001, Deadman, Hal wrote: > I don't think what you are trying to do should be done in the JSP by a > struts/custom tag. Maybe it's a dumb idea, but that's never stopped me before. =:] > Why not copy the value objects in the HashMap to an array based on the order > of the keys in

RE: Any Hashmap examples used in jsp page?

2001-06-04 Thread Deadman, Hal
ren't attributes of the value objects then you can pass the String array of keys to the JSP too. > -Original Message- > From: Steve A Drake [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 04, 2001 5:41 PM > To: '[EMAIL PROTECTED]' > Subject: RE: Any Hashmap example

RE: Any Hashmap examples used in jsp page?

2001-06-04 Thread Steve A Drake
On Mon, 4 Jun 2001, Shamdasani Nimmi-ANS004 wrote: > Steve, > > This is how I used a HashMap in a jsp: > > > > > > > > > > > getUserList() method in my user_list bean returns a HashMap. > > Hope this helps. > > -Nimmi Hi Nimmi. Your example would work fine if I didn't care about the order

RE: Any Hashmap examples used in jsp page? - THANX!!!

2001-06-04 Thread Dudley [EMAIL PROTECTED]
PROTECTED] Subject: RE: Any Hashmap examples used in jsp page? Hi Jon. I'm having a similar problem as Dudley with a HashMap. I tried playing around with your example but couldn't get it to work within the context of what I'm doing. Perhaps another example would help. For example, I ha

RE: Any Hashmap examples used in jsp page?

2001-06-04 Thread Shamdasani Nimmi-ANS004
Hashmap examples used in jsp page? Hi Jon. I'm having a similar problem as Dudley with a HashMap. I tried playing around with your example but couldn't get it to work within the context of what I'm doing. Perhaps another example would help. For example, I have a scriptlet that looks

RE: Any Hashmap examples used in jsp page?

2001-06-01 Thread Steve A Drake
Hi Jon. I'm having a similar problem as Dudley with a HashMap. I tried playing around with your example but couldn't get it to work within the context of what I'm doing. Perhaps another example would help. For example, I have a scriptlet that looks something like: fee.fie.fo.sql.ResultSetBean r

RE: Any Hashmap examples used in jsp page?

2001-06-01 Thread Jon.Ridgway
Hi Dudley, See code sample below. The type in the iterate tag must be as shown, you will then need to use a bean define to put your 'value' into the page context and cast it to whatever type you have placed in your HashMap value. Hope this helps, Jon. -